Version: 2018.1
public void OnGUI (Rect position, MaterialProperty prop, string label, MaterialEditor editor);

Parameters

positionRectangle on the screen to use for the property GUI.
propThe MaterialProperty to make the custom GUI for.
labelThe label of this property.
editorCurrent material editor.

Description

Override this method to make your own GUI for the property.