经过预设物体Transform获取N层子对象的方法

假设预设物体为test,要想经过transform获取它的“22”节点node 首先获取GameObject obj = Instantiate(testprefab) as GameObject;orm Transform 22node = obj.transform.Find("GameObject/00/11/22");//必须写清该对象下的具体路径,才能够找到,若是是直接Find("22"
相关文章
相关标签/搜索