Method OnGUI
OnGUI(MaterialEditor, MaterialProperty[])
Method called when updating UI. Cannot be overridden in child classes, leave it alone.
Declaration
public sealed override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] properties)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialEditor | materialEditor | material editor that uses this GUI. |
| MaterialProperty[] | properties | List of MaterialProperties currently available on the selected shader. |