Class DebugUIHandlerProgressBar
DebugUIHandler for progress bar widget.
Inheritance
DebugUIHandlerProgressBar
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 DebugUIHandlerProgressBar : DebugUIHandlerWidget
Fields
nameLabel
Name of the progress bar.
Declaration
public Text nameLabel
Field Value
Type | Description |
---|---|
Text |
progressBarRect
Rectangle representing the progress bar.
Declaration
public RectTransform progressBarRect
Field Value
Type | Description |
---|---|
RectTransform |
valueLabel
Value of the progress bar.
Declaration
public Text valueLabel
Field Value
Type | Description |
---|---|
Text |
Methods
OnDeselection()
OnDeselection implementation.
Declaration
public override void OnDeselection()
Overrides
OnEnable()
OnEnable implementation.
Declaration
protected override void OnEnable()
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 | True if the selection is allowed. |