transform.FindChild("childName")
transform.FindChild("childName/grandChildName");
参考:http://answers.unity3d.com/questions/183649/how-to-find-a-child-gameobject-by-name.html
posted on 2015-05-12 19:46 wantnon 阅读(2518) 评论(0) 编辑 收藏 举报