UnityEditor.MaterialEditor.OnDisable C# (CSharp) Method

OnDisable() public method

public OnDisable ( ) : void
return void
        public virtual void OnDisable()
        {
            this.m_ReflectionProbePicker.OnDisable();
            if (this.m_PreviewUtility != null)
            {
                this.m_PreviewUtility.Cleanup();
                this.m_PreviewUtility = null;
            }
            Undo.undoRedoPerformed = (Undo.UndoRedoCallback) Delegate.Remove(Undo.undoRedoPerformed, new Undo.UndoRedoCallback(this.UndoRedoPerformed));
        }
MaterialEditor