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