Class DebugUI.Button
Button widget.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class DebugUI.Button : DebugUI.Widget
Properties
action
Action performed by the button.
Declaration
public Action action { get; set; }
Property Value
| Type | Description |
|---|---|
| Action |
Methods
Create()
Creates the VisualElement for the widget that will be added to the panel UI.
Declaration
protected override VisualElement Create()
Returns
| Type | Description |
|---|---|
| VisualElement | The widget's VisualElement |