Class DebugUIDrawerFoldout
Builtin Drawer for Foldout Debug Items.
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[DebugUIDrawer(typeof(DebugUI.Foldout))]
public sealed class DebugUIDrawerFoldout : DebugUIDrawer
Methods
Begin(Widget, DebugState)
Implement this to execute processing before UI rendering.
Declaration
public override void Begin(DebugUI.Widget widget, DebugState state)
Parameters
Type | Name | Description |
---|---|---|
DebugUI.Widget | widget | Widget that is going to be rendered. |
DebugState | state | Debug State associated with the Debug Item. |
Overrides
End(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(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 |
---|---|
bool | The state of the widget. |