예제 #1
0
 public void GameOver()
 {
     StopCoroutine(hazard);
     StopCoroutine(spawn);
     for (int i = 0; i < BGs.Length; i++)
     {
         BGs[i].StopScroll();
     }
     ui.setGameOver();
     isGameOver = true;
 }