UnityEditor.MaterialEditor.OnEnable C# (CSharp) Method

OnEnable() public method

public OnEnable ( ) : void
return void
        public virtual void OnEnable()
        {
            this.m_Shader = base.serializedObject.FindProperty("m_Shader").objectReferenceValue as Shader;
            this.CreateCustomShaderGUI(this.m_Shader, string.Empty);
            Undo.undoRedoPerformed = (Undo.UndoRedoCallback) Delegate.Combine(Undo.undoRedoPerformed, new Undo.UndoRedoCallback(this.UndoRedoPerformed));
            this.PropertiesChanged();
            this.m_ReflectionProbePicker.OnEnable();
        }
MaterialEditor