Example #1
0
        void Awake()
        {
            instance = this;
            thisObj  = gameObject;

            transform.localPosition = Vector3.zero;
        }
Example #2
0
        IEnumerator _OnGameOver(bool playerWon)
        {
            UIBuildButton.Hide();

            yield return(new WaitForSeconds(1.0f));

            UIGameOverMenu.Show(playerWon);
        }