Exemple #1
0
 public void Awake()
 {
     if (_instance != null) {
         Debug.LogError("Already have a StageDriver " + _instance);
         GameObject.Destroy(this.gameObject);
         return;
     }
     _instance = this;
 }
Exemple #2
0
 public void Awake()
 {
     if (_instance != null)
     {
         Debug.LogError("Already have a StageDriver " + _instance);
         GameObject.Destroy(this.gameObject);
         return;
     }
     _instance = this;
 }