Transform n = Instantiate(newobject,transform.position,transform.rotation) as Transform;
Instantiate返回是object 需要强转为 Transform类型
Transform n = Instantiate(newobject,transform.position,transform.rotation) as Transform;
Instantiate返回是object 需要强转为 Transform类型