Method OnMaterialGUI
OnMaterialGUI(MaterialEditor, MaterialProperty[])
Override this function to implement your custom GUI. To display a user interface similar to HDRP shaders, use a MaterialUIBlockList.
Declaration
protected override void OnMaterialGUI(MaterialEditor materialEditor, MaterialProperty[] props)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialEditor | materialEditor | The current material editor. |
| MaterialProperty[] | props | The list of properties the material has. |