public override void OnEscape()
 {
     if (IsActiveScreen())
     {
         ScreensNavigator.CloseGameplayMenu();
     }
 }
Beispiel #2
0
 private void InitSaveButton()
 {
     SaveButton.onClick.AddListener(() =>
     {
         Config.SubtitlesOn  = SubtitlesOn;
         Config.IsFullscreen = FullScreenOn;
         Config.Resolution   = CurrentResolution;
         Screen.SetResolution(CurrentResolution.Width,
                              CurrentResolution.Height,
                              FullScreenOn);
         ScreensNavigator.CloseOptionsScreen();
     });
 }
Beispiel #3
0
 public override void OnEscape()
 {
     ScreensNavigator.CloseOptionsScreen();
 }