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