private void Awake() { if (_instance != null && _instance != this) { Destroy(gameObject); } _instance = this; }
private void OnDestroy() { _instance = null; }
private void Awake() { if (_instance != null && _instance != this) { Destroy(gameObject); } _instance = this; }
private void OnDestroy() { _instance = null; }