void Awake() { if (Instance == null) { Instance = this; } else { Destroy(this.gameObject); return; } }
void OnDestroy() { Instance = null; }
void Awake() { if (Instance == null) { Instance = this; } else { Destroy(this.gameObject); return; } }
void OnDestroy() { Instance = null; }