Esempio n. 1
0
 public bool shouldClose()
 {
     if(!hardClose && isActive)
     {
         isActive = false;
         return false;
     }
     activeScreen = null;
     return true;
 }
Esempio n. 2
0
 public static void Display(string message)
 {
     if(activeScreen == null)
     {
         activeScreen = new LoadingScreen(message);
         ScreenManager.screenManager.push(activeScreen);
     }
     else
     {
         activeScreen.message = message;
     }
 }