Example #1
0
        IEnumerator _OnGameOver(int _star)
        {
            UIBuildButton.Hide();

            yield return(new WaitForSeconds(1.0f));

            UIGameOverMenu.Show(_star);
        }
Example #2
0
        IEnumerator _OnGameOver(bool playerWon)
        {
            UIBuildButton.Hide();

            yield return(new WaitForSeconds(1.0f));

            UIGameOverMenu.Show(playerWon);
        }