public void GameOver() { LevelGenerator.sharedInstance.RemoveAllBlocks(); // LevelGenerator.sharedInstance.RemoveOldBlock(); ChangeGameState(GameState.GameOver); GameOverView.GetInstance().UpdateGui(); }
//To End Game public void GameOver() { ChangeGameState(GameState.GameOver); LevelGenerator.sharedInstance.RemoveAllBlocks(); GameOverView.GetInstance().UpdateGUI(); }