private void InitSaveButton() { SaveButton.onClick.AddListener(() => { Config.SubtitlesOn = SubtitlesOn; Config.IsFullscreen = FullScreenOn; Config.Resolution = CurrentResolution; Screen.SetResolution(CurrentResolution.Width, CurrentResolution.Height, FullScreenOn); ScreensNavigator.CloseOptionsScreen(); }); }
public override void OnEscape() { ScreensNavigator.CloseOptionsScreen(); }