public override void Update() { // time to play _stateMachine.ChangeState(_stateMachine.PlayingState); }
void OnMenuClicked() { _stateMachine.ChangeState(_stateMachine.PauseMenuState); }