Ejemplo n.º 1
0
        void Awake()
        {
            instance = this;
            thisObj  = gameObject;

            transform.localPosition = Vector3.zero;
        }
Ejemplo n.º 2
0
        void Awake()
        {
            instance=this;
            thisObj=gameObject;

            transform.localPosition=Vector3.zero;
        }
Ejemplo n.º 3
0
        IEnumerator _OnGameOver(int _star)
        {
            UIBuildButton.Hide();

            yield return(new WaitForSeconds(1.0f));

            UIGameOverMenu.Show(_star);
        }
Ejemplo n.º 4
0
        IEnumerator _OnGameOver(bool playerWon)
        {
            UIBuildButton.Hide();

            yield return(new WaitForSeconds(1.0f));

            UIGameOverMenu.Show(playerWon);
        }
Ejemplo n.º 5
0
 void Awake()
 {
     instance = this;
 }