Exemplo n.º 1
0
 void Update()
 {
     if (runningState.GetState() == RunningState.GameState.End)
     {
         fadeManager.FadeInAndSceneLoad();
         evolveValue.SetGamePoint(runningState.GetScore() / 120.0f);
     }
 }
Exemplo n.º 2
0
 void Update()
 {
     scoreText.text = scoreString + runningState.GetScore().ToString();
     gameOverText.SetActive(runningState.GetState() == RunningState.GameState.GameOver);
     clearText.SetActive(runningState.GetState() == RunningState.GameState.Clear);
 }