Method DoGUI
DoGUI(Rect, GUIContent, ColorField, DebugStateColor)
Does the field of the given type
Declaration
protected override Color DoGUI(Rect rect, GUIContent label, DebugUI.ColorField field, DebugStateColor state)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | rect | The rect to draw the field |
| GUIContent | label | The label for the field |
| DebugUI.ColorField | field | The field |
| DebugStateColor | state | The state |
Returns
| Type | Description |
|---|---|
| Color | The current value from the UI |