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