public override void Update() { if (GameManager.GetState() is GamePauseState) { //GameManager.Unpause(); } else { //GameManager.Pause(); } }
public void SetState(GameStateEnum gameState) { this.state = GameManager.GetState(gameState); }