예제 #1
0
 public void GameOver()
 {
     LevelGenerator.sharedInstance.RemoveAllBlocks();
     // LevelGenerator.sharedInstance.RemoveOldBlock();
     ChangeGameState(GameState.GameOver);
     GameOverView.GetInstance().UpdateGui();
 }
예제 #2
0
 //To End Game
 public void GameOver()
 {
     ChangeGameState(GameState.GameOver);
     LevelGenerator.sharedInstance.RemoveAllBlocks();
     GameOverView.GetInstance().UpdateGUI();
 }