void Awake() { if (Instance != null && Instance != this) { Destroy(this.gameObject); return; } else { Instance = this; } }
private void Awake() { instance = this; }
void Awake() { if (Instance != null && Instance != this) { Destroy(this.gameObject); return; } else { Instance = this; } }
private void Awake() { instance = this; }