Class DebugUIDrawerFoldout
Builtin Drawer for Foldout Debug Items.
Inherited Members
Namespace: UnityEditor.Rendering
Syntax
[DebugUIDrawer(typeof(DebugUI.Foldout))]
public sealed class DebugUIDrawerFoldout : DebugUIDrawer
Methods
Begin(DebugUI.Widget, DebugState)
Begin implementation for Foldout DebugUIDrawer.
Declaration
public override void Begin(DebugUI.Widget widget, DebugState state)
Parameters
Type | Name | Description |
---|---|---|
DebugUI.Widget | widget | DebugUI Widget. |
DebugState | state | Debug State associated with the Debug Item. |
Overrides
End(DebugUI.Widget, DebugState)
End implementation for Foldout DebugUIDrawer.
Declaration
public override void End(DebugUI.Widget widget, DebugState state)
Parameters
Type | Name | Description |
---|---|---|
DebugUI.Widget | widget | DebugUI Widget. |
DebugState | state | Debug State associated with the Debug Item. |
Overrides
OnGUI(DebugUI.Widget, DebugState)
OnGUI implementation for Foldout DebugUIDrawer.
Declaration
public override bool OnGUI(DebugUI.Widget widget, DebugState state)
Parameters
Type | Name | Description |
---|---|---|
DebugUI.Widget | widget | DebugUI Widget. |
DebugState | state | Debug State associated with the Debug Item. |
Returns
Type | Description |
---|---|
Boolean | The state of the widget. |