Beispiel #1
0
        public void CloseUI(UIPanelEnum uiPanel)
        {
            switch (uiPanel)
            {
            case UIPanelEnum.StartUI:
                startUI.Hide();
                break;

            case UIPanelEnum.MapSettingUI:
                mapSettingUI.Hide();
                break;

            case UIPanelEnum.MainUI:
                mainUI.Hide();
                break;

            case UIPanelEnum.GameEndUI:
                gameEndUI.Hide();
                break;
            }
        }