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