Method OnGUI
OnGUI(SerializedDataParameter, GUIContent)
Draws the parameter in the editor. If the input parameter is invalid you should return
false
so that Unity displays the default editor for this parameter.
Declaration
public abstract bool OnGUI(SerializedDataParameter parameter, GUIContent title)
Parameters
Type | Name | Description |
---|---|---|
SerializedDataParameter | parameter | The parameter to draw. |
GUIContent | title | The label and tooltip of the parameter. |
Returns
Type | Description |
---|---|
bool |
|