예제 #1
0
 public void Quit()
 {
     if (Data.GameManager.IsLoading)
     {
         return;
     }
     MenuManager.StateTransition(MenuManager.MenuState.NoStateOverride, MenuManager.MenuState.Confirmation);
     ConfirmationWindow.GetConfirmation(QuitLevel, ConfirmationWindow.ConfirmationType.AreYouSure, _state);
 }
예제 #2
0
 public void Back()
 {
     _back = true;
     if (_update)
     {
         MenuManager.StateTransition(MenuManager.MenuState.NoStateOverride, MenuManager.MenuState.Confirmation);
         ConfirmationWindow.GetConfirmation(ApplySettings, ConfirmationWindow.ConfirmationType.ApplyChanges, MenuManager.MenuState.Settings);
     }
     else
     {
         this.GoBack();
     }
 }
예제 #3
0
 public void Apply()
 {
     MenuManager.StateTransition(MenuManager.MenuState.NoStateOverride, MenuManager.MenuState.Confirmation);
     ConfirmationWindow.GetConfirmation(ApplySettings, ConfirmationWindow.ConfirmationType.ApplyChanges, _state);
 }