private void OnApplicationPause(bool isPaused) { if (!isPaused) { return; } SavedVariables.OnExitPlayMode(); ApplicationVariables.OnExitPlayMode(); }
private void OnApplicationQuit() { SavedVariables.OnExitPlayMode(); ApplicationVariables.OnExitPlayMode(); }