Class DebugUIDrawerMessageBox
Builtin Drawer for MessageBox Items.
Inherited Members
Namespace: UnityEditor.Rendering
Syntax
[DebugUIDrawer(typeof(DebugUI.MessageBox))]
public sealed class DebugUIDrawerMessageBox : DebugUIDrawer
Methods
OnGUI(DebugUI.Widget, DebugState)
Implement this to execute UI rendering.
Declaration
public override bool OnGUI(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. |
Returns
| Type | Description |
|---|---|
| Boolean | Returns the state of the widget. |