public void Pause(bool pause) { _pauseTransition = !pause; if (_reactionEngine == null) { _reactionEngine = ReactionEngine.get(); } _reactionEngine.Pause(pause); _timeScale = pause ? 0 : 1; if (pause) { Time.timeScale = 0; } roomGraph.setPause(pause); celliaGraph.setPause(pause); hero.Pause(pause); control.Pause(pause); EnemiesManager.Paused = pause; }