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