void Awake() { instance = this; thisObj = gameObject; transform.localPosition = Vector3.zero; }
IEnumerator _OnGameOver(bool playerWon) { UIBuildButton.Hide(); yield return(new WaitForSeconds(1.0f)); UIGameOverMenu.Show(playerWon); }
void Awake() { instance = this; thisObj = gameObject; transform.localPosition = Vector3.zero; }
IEnumerator _OnGameOver(bool playerWon) { UIBuildButton.Hide(); yield return(new WaitForSeconds(1.0f)); UIGameOverMenu.Show(playerWon); }