Unity查找隐藏物体

为null:
GameObject.Find
GameObject.FindWithTag

不为null:

this.transform.GetChild(0).gameObject
this.transform.Find("Cube").gameObject

猜你喜欢

转载自blog.csdn.net/dlyxaj/article/details/128142959
今日推荐