void Update() { if (transform.position.z < -1f) { Prototype_MobGenerator.Destroy(this.gameObject); } }
void Awake() { if (instance == null) { instance = this; } }
void Awake() { if(instance == null) instance = this; }
void Update() { if (transform.position.z < -1f) { Prototype_MobGenerator.Destroy(this.gameObject); } }
void Awake() { if (instance == null) { instance = this; } }
void Awake() { if(instance == null) instance = this; }