Esempio n. 1
0
 public void Pause()
 {
     if (_isRunning)
     {
         this._wasRunning = _isRunning;
         this._isRunning  = false;
         GameUpdateTask.Pause();
     }
 }
Esempio n. 2
0
 public static void Pause()
 {
     GameUpdateTask.Instance.Cancel();
     _instance = null;
 }