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