public void Awake() { if (Instance != null) { Destroy(this); return; } Instance = this; gameObject.SetActive(false); }
void OnDestroy() { Instance = null; }