Пример #1
0
 public void ScreenShow(ScreenType screenType)
 {
     if (mListUIBase.Exists(st => st.mScreenType == screenType))
     {
         mCurrentScreen.ScreenHide();
         Base_UI screen = mListUIBase.Find(st => st.mScreenType == screenType);
         screen.ScreenShow();
         mCurrentScreen = screen;
     }
 }
Пример #2
0
 void HideAllScreens()
 {
     foreach (Base_UI ui in mListUIBase)
     {
         if (ui.mScreenType != ScreenType.MainMenu)
         {
             ui.ScreenHide();
         }
         else
         {
             mCurrentScreen = ui;
         }
     }
 }