Beispiel #1
0
    private IEnumerator WaitToRestart()
    {
        yield return(new WaitForSeconds(GameOverDuration));

        FSM.ChangeState(TitleScreenState);
    }
Beispiel #2
0
 private void OnGameOver()
 {
     FSM.ChangeState(GameOverState);
 }
Beispiel #3
0
 private void OnStartStage()
 {
     FSM.ChangeState(StartStageState);
 }