private void OnDestroy() { if (instance == this) { instance = null; } }
// Unity Methods private void Awake() { instance = this; }
private void OnDestroy() { if (instance == this) { instance = null; } }
// Unity Methods private void Awake() { instance = this; }