예제 #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);
     }
 }
예제 #2
0
 void Awake()
 {
     Instance = this;
 }