void Awake() { s = this; todosOsMenus = new List<Menu> (); todosOsMenus.AddRange (transform.GetComponentsInChildren<Menu>(true)); menuPause = Get("Pause"); }
void Awake() { s = this; todosOsMenus = new List <Menu> (); todosOsMenus.AddRange(transform.GetComponentsInChildren <Menu>(true)); menuPause = Get("Pause"); }