Transform n = Instantiate(newobject,transform.position,transform.rotation) as Transform;
Instantiate返回是object 需要强转为 Transform类型
2021-07-20 22:13:48
Transform n = Instantiate(newobject,transform.position,transform.rotation) as Transform;
Instantiate返回是object 需要强转为 Transform类型