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