private void OnApplicationQuit() { if (SceneManager.GetActiveScene().name != "Start Menu") { SaveGameInfo.SaveInfo(saveCameraManager, savePositionManager, saveItemManager.SaveScriptables(), saveInventoryManager.SaveScriptables(), savePuzzleManager.SaveScriptables()); saveSoundConfigManager.SaveConfig(); } }
public void SaveGameInformation() { SaveGameInfo.SaveInfo(saveCameraManager, savePositionManager, saveItemManager.SaveScriptables(), saveInventoryManager.SaveScriptables(), savePuzzleManager.SaveScriptables()); saveSoundConfigManager.SaveConfig(); }