Exemplo n.º 1
0
 void Awake()
 {
     Instance = this;
     for (int i = 0; i < this.transform.childCount; i++)
     {
         Transform child = this.transform.GetChild(i);
         child.gameObject.SetActive(false);
     }
 }
Exemplo n.º 2
0
 void Awake()
 {
     Instance = this;
 }