Ejemplo n.º 1
0
 // Use this for initialization
 void Awake()
 {
     Instance = this;
 }
Ejemplo n.º 2
0
        // Use this for initialization
        void Awake()
        {
            Player = GameObject.FindGameObjectWithTag("Player");

            Instance = this;
        }