public void LoadSave() { StaticSettings.ReInitialize(); Saves.LoadSaveFile(selectedSaveDateTime); MenusOpener.ClosesMenusEvent(); GameMenu.CloseMenuEvent(); SceneController.LoadSave(); }
public void CloseMenu() { SetTimeScale(1); GameAudio.UnPauseAudioEvent(); MenusOpener.ClosesMenusEvent(); mainGameMenu.SetActive(false); if (isGameCursorLock) { GameCursor.SetCursorLock(true, CursorLockMode.Locked); } isMenuOpened = false; OnMenuClose?.Invoke(); }
public void OpenSaves() => MenusOpener.OpenSavesMenuEvent(mainGameMenu);
public void OpenSettings() => MenusOpener.OpenSettingsMenuEvent(mainGameMenu);
public void OpenSaves() => MenusOpener.OpenSavesMenuEvent(MenuPanel);
public void OpenSettings() => MenusOpener.OpenSettingsMenuEvent(MenuPanel);