transform的一些属性
transform.parent; //改变自己的父级
transform.root;  //返回最高层次的Transform
transform.childCount;  //子物体的数量

首页 我的博客
粤ICP备17103704号