Class DebugUIDrawerIntField
Builtin Drawer for Integer Debug Items.
Inheritance
DebugUIDrawerIntField
Inherited Members
Namespace: UnityEditor.Rendering
Syntax
[DebugUIDrawer(typeof(DebugUI.IntField))]
public sealed class DebugUIDrawerIntField : DebugUIFieldDrawer<int, DebugUI.IntField, DebugStateInt>
Methods
DoGUI(Rect, GUIContent, DebugUI.IntField, DebugStateInt)
Does the field of the given type
Declaration
protected override int DoGUI(Rect rect, GUIContent label, DebugUI.IntField field, DebugStateInt state)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect | The rect to draw the field |
GUIContent | label | The label for the field |
DebugUI.IntField | field | The field |
DebugStateInt | state | The state |
Returns
Type | Description |
---|---|
Int32 | The current value from the UI |
Overrides
UnityEditor.Rendering.DebugUIFieldDrawer<System.Int32, UnityEngine.Rendering.DebugUI.IntField, UnityEditor.Rendering.DebugStateInt>.DoGUI(UnityEngine.Rect, UnityEngine.GUIContent, UnityEngine.Rendering.DebugUI.IntField, UnityEditor.Rendering.DebugStateInt)