【GameObject.Active】
用于控制一个对象是否激活,一个对象激活当且本身active=true,并且它的父结点也都active。相当API有:
1)GameObject.SetActive
2)GameObject.activeSelf
3)GameObjectd.activeInHierarchy
参考:
1、file:///D:/Program%20Files%20(x86)/Unity/Editor/Data/Documentation/Documentation/ScriptReference/GameObject.SetActive.html
2、file:///D:/Program%20Files%20(x86)/Unity/Editor/Data/Documentation/Documentation/ScriptReference/GameObject-activeInHierarchy.html