Class DebugUIDrawerBoolField
Builtin Drawer for Boolean Debug Items.
Inheritance
DebugUIDrawerBoolField
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[DebugUIDrawer(typeof(DebugUI.BoolField))]
public sealed class DebugUIDrawerBoolField : DebugUIFieldDrawer<bool, DebugUI.BoolField, DebugStateBool>
Methods
DoGUI(Rect, GUIContent, 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 |
---|---|
bool | The value |