public override void Execute() { if (GameManager.Instance.EndGame) { _machine.ChangeState <EndGameState>(); } _machine.Score.text = $"{GameManager.Instance.Score}"; }
private void Play() { _machine.ChangeState <GameState>(); }
private void Resume() { _machine.ChangeState <GameState>(); }
private void TryAgain() { GameManager.Instance.Score = 0; _machine.ChangeState <GameState>(); }