IEnumerator _OnGameOver(int _star) { UIBuildButton.Hide(); yield return(new WaitForSeconds(1.0f)); UIGameOverMenu.Show(_star); }
IEnumerator _OnGameOver(bool playerWon) { UIBuildButton.Hide(); yield return(new WaitForSeconds(1.0f)); UIGameOverMenu.Show(playerWon); }