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

            Instance = this;
        }