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