UnityEditor.AudioSourceInspector.OnDisable C# (CSharp) Method

OnDisable() private method

private OnDisable ( ) : void
return void
        private void OnDisable()
        {
            this.m_CurveEditor.OnDisable();
            Undo.undoRedoPerformed = (Undo.UndoRedoCallback) Delegate.Remove(Undo.undoRedoPerformed, new Undo.UndoRedoCallback(this.UndoRedoPerformed));
            EditorApplication.update = (EditorApplication.CallbackFunction) Delegate.Remove(EditorApplication.update, new EditorApplication.CallbackFunction(this.Update));
            EditorPrefs.SetBool("AudioSourceExpanded3D", this.m_Expanded3D);
        }