private void GameManager_OnGameOver(GameManager gameManager) { Assert.IsFalse(_panelVictory.IsPanelShowing(), debugLogHeader + "panel victory is show, but we just received a 'GameOver' from GameManager."); _panelGameOver.Show(); _panelGameInformation.Hide(); _panelSelection.Hide(); _panelConstruction.Hide(); }
public void BirdDied() { //Activate the game over text. //gameOvertext.SetActive (true); //Set the game to be over. gameOver = true; panelGameOver.Show(score); scoreText.gameObject.SetActive(false); }