Class DebugUIHandlerButton
DebugUIHandler for Button widget.
Inheritance
DebugUIHandlerButton
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Rendering.UI
Syntax
public class DebugUIHandlerButton : DebugUIHandlerWidget
Fields
nameLabel
Name of the widget.
Declaration
public Text nameLabel
Field Value
Type | Description |
---|---|
Text |
Methods
OnAction()
OnAction implementation.
Declaration
public override void OnAction()
Overrides
OnDeselection()
OnDeselection implementation.
Declaration
public override void OnDeselection()
Overrides
OnSelection(Boolean, DebugUIHandlerWidget)
OnSelection implementation.
Declaration
public override bool OnSelection(bool fromNext, DebugUIHandlerWidget previous)
Parameters
Type | Name | Description |
---|---|---|
Boolean | fromNext | True if the selection wrapped around. |
DebugUIHandlerWidget | previous | Previous widget. |
Returns
Type | Description |
---|---|
Boolean | State of the widget. |