void Awake() { _MenuList = this.GetComponentsInChildren <UIMenu>(); _menuIDStack = new Stack <UIDefine.Menu>(); _gameplayHUD = this.GetComponentInChildren <GameplayHUD>(); RegisterEvents(); UIEvents.OPEN_MENU(UIDefine.Menu.MAIN); }
void Awake() { _MenuList = this.GetComponentsInChildren <UIMenu>(); _menuIDStack = new Stack <UIDefine.Menu>(); _gameplayHUD = this.GetComponentInChildren <GameplayHUD>(); RegisterEvents(); UIEvents.OPEN_MENU(UIDefine.Menu.MAIN); }