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