Inheritance: UnityEngine.MonoBehaviour
Exemple #1
0
        // End Crew Selection vars

        private void Awake()
        {
            if (instance)
            {
                Destroy(instance);
            }
            instance = this;
        }
Exemple #2
0
 void Awake()
 {
     if(instance) Destroy(instance);
     instance = this;
 }