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