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