Пример #1
0
        void Awake()
        {
            instance = this;
            thisObj  = gameObject;

            transform.localPosition = Vector3.zero;
        }
Пример #2
0
        void Awake()
        {
            instance=this;
            thisObj=gameObject;

            transform.localPosition=Vector3.zero;
        }
Пример #3
0
        IEnumerator _OnGameOver(int _star)
        {
            UIBuildButton.Hide();

            yield return(new WaitForSeconds(1.0f));

            UIGameOverMenu.Show(_star);
        }
Пример #4
0
        IEnumerator _OnGameOver(bool playerWon)
        {
            UIBuildButton.Hide();

            yield return(new WaitForSeconds(1.0f));

            UIGameOverMenu.Show(playerWon);
        }
Пример #5
0
 void Awake()
 {
     instance = this;
 }