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

            Instance = this;
        }