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