private void OnDisable() { if (Instance == this) { Instance = null; } EditorApplication.update -= Update; }
private void OnEnable() { Instance = this; EditorApplication.update += Update; }
private void OnDisable() { if (Instance == this) { Instance = null; } EditorApplication.update -= Update; }
private void OnEnable() { Instance = this; EditorApplication.update += Update; }