GameObject.Instantiate注意的地方

使用GameObject.Instantiate创建物体时注意如果指定了第二个参数(他的parent)
则第二个参数的scale会影响实力和出来的物体的scale,
这和实例化出来后指定实例化物体的transform.parent是不一样的

猜你喜欢

转载自blog.csdn.net/weixin_43149049/article/details/86506357