UnityEditor.LineRendererCurveEditor.OnDisable C# (CSharp) Method

OnDisable() public method

public OnDisable ( ) : void
return void
        public void OnDisable()
        {
            this.m_Editor.OnDisable();
            Undo.undoRedoPerformed = (Undo.UndoRedoCallback) Delegate.Remove(Undo.undoRedoPerformed, new Undo.UndoRedoCallback(this.UndoRedoPerformed));
        }

Usage Example

示例#1
0
 public void OnDisable()
 {
     m_CurveEditor.OnDisable();
     EndEditPositions();
     Undo.undoRedoPerformed                   -= UndoRedoPerformed;
     SceneView.onSceneGUIDelegate             -= OnSceneGUIDelegate;
     EditorApplication.contextualPropertyMenu -= OnPropertyContextMenu;
 }
All Usage Examples Of UnityEditor.LineRendererCurveEditor::OnDisable