Class DebugUIDrawerButton
Builtin Drawer for Button Debug Items.
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[DebugUIDrawer(typeof(DebugUI.Button))]
public sealed class DebugUIDrawerButton : DebugUIWidgetDrawer<DebugUI.Button>
Methods
DoGUI(Rect, GUIContent, Button)
Does the field of the given type
Declaration
protected override void DoGUI(Rect rect, GUIContent label, DebugUI.Button field)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect | The rect to draw the field |
GUIContent | label | The label for the field |
DebugUI.Button | field | The widget |