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