예제 #1
0
    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();
    }
예제 #2
0
 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);
 }