public void OnDisable() { m_CurveEditor.OnDisable(); EndEditPositions(); Undo.undoRedoPerformed -= UndoRedoPerformed; SceneView.onSceneGUIDelegate -= OnSceneGUIDelegate; EditorApplication.contextualPropertyMenu -= OnPropertyContextMenu; }
public void OnDisable() { m_CurveEditor.OnDisable(); }