public void OnDestroy() { if (this.m_GenericPresetLibraryInspector != null) { this.m_GenericPresetLibraryInspector.OnDestroy(); } }