给隐藏的物体添加主物体(空物体)
GameObject x = GameObject.Find("主物体");
GameObject y = x.transform.Find("隐藏的物体").gameObject;
转载于:https://www.cnblogs.com/wowanyasuo/p/5978858.html
给隐藏的物体添加主物体(空物体)
GameObject x = GameObject.Find("主物体");
GameObject y = x.transform.Find("隐藏的物体").gameObject;
转载于:https://www.cnblogs.com/wowanyasuo/p/5978858.html