Пример #1
0
 private void OnApplicationPause(bool pause)
 {
     UnityActivityWatchdog.unityPaused = pause;
     UnityActivityWatchdog.UpdateStatus();
 }
Пример #2
0
 private void OnApplicationFocus(bool focus)
 {
     UnityActivityWatchdog.unityFocused = focus;
     UnityActivityWatchdog.UpdateStatus();
 }
Пример #3
0
 private void OnApplicationQuit()
 {
     UnityActivityWatchdog.unityRunning = false;
     UnityActivityWatchdog.UpdateStatus();
 }