public void OnDestroy() { this.m_DoubleCurvePresets.GetPresetLibraryEditor().UnloadUsedLibraries(); }