Пример #1
0
        private void OnApplicationPause(bool isPaused)
        {
            if (!isPaused)
            {
                return;
            }

            SavedVariables.OnExitPlayMode();
            ApplicationVariables.OnExitPlayMode();
        }
Пример #2
0
 private void OnApplicationQuit()
 {
     SavedVariables.OnExitPlayMode();
     ApplicationVariables.OnExitPlayMode();
 }