private void Awake() { if (_instance == null) { _instance = this; } else { Destroy(this); } }
private void OnDestroy() { _instance = null; }
private void Awake() { if (_instance == null) { _instance = this; } else { Destroy(this); } }
private void OnDestroy() { _instance = null; }