Beispiel #1
0
    void Awake()
    {
        _MenuList    = this.GetComponentsInChildren <UIMenu>();
        _menuIDStack = new Stack <UIDefine.Menu>();
        _gameplayHUD = this.GetComponentInChildren <GameplayHUD>();
        RegisterEvents();

        UIEvents.OPEN_MENU(UIDefine.Menu.MAIN);
    }