Class DebugUIHandlerEnumField
DebugUIHandler for enumerator widget.
Inherited Members
Namespace: UnityEngine.Rendering.UI
Syntax
public class DebugUIHandlerEnumField : DebugUIHandlerWidget
Fields
m_Field
Declaration
protected DebugUI.EnumField m_Field
Field Value
Type | Description |
---|---|
DebugUI.EnumField |
nameLabel
Name of the enum field.
Declaration
public Text nameLabel
Field Value
Type | Description |
---|---|
Text |
valueLabel
Value of the enum field.
Declaration
public Text valueLabel
Field Value
Type | Description |
---|---|
Text |
Methods
OnAction()
OnAction implementation.
Declaration
public override void OnAction()
Overrides
OnDecrement(Boolean)
OnDecrement implementation.
Declaration
public override void OnDecrement(bool fast)
Parameters
Type | Name | Description |
---|---|---|
Boolean | fast | Trye if decrementing fast. |
Overrides
OnDeselection()
OnDeselection implementation.
Declaration
public override void OnDeselection()
Overrides
OnIncrement(Boolean)
OnIncrement implementation.
Declaration
public override void OnIncrement(bool fast)
Parameters
Type | Name | Description |
---|---|---|
Boolean | fast | True if incrementing fast. |
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. |
Overrides
UpdateValueLabel()
Update the label of the widget.
Declaration
protected virtual void UpdateValueLabel()