Class DebugUIHandlerIndirectFloatField
DebugUIHandler for indirect float widget.
Inheritance
DebugUIHandlerIndirectFloatField
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 DebugUIHandlerIndirectFloatField : DebugUIHandlerWidget
Fields
decimalsGetter
Getter function for the number of decimals of this indirect widget.
Declaration
public Func<float> decimalsGetter
Field Value
Type | Description |
---|---|
Func<Single> |
getter
Getter function for this indirect widget.
Declaration
public Func<float> getter
Field Value
Type | Description |
---|---|
Func<Single> |
incStepGetter
Getter function for the increment step of this indirect widget.
Declaration
public Func<float> incStepGetter
Field Value
Type | Description |
---|---|
Func<Single> |
incStepMultGetter
Getter function for the increment step multiplier of this indirect widget.
Declaration
public Func<float> incStepMultGetter
Field Value
Type | Description |
---|---|
Func<Single> |
nameLabel
Name of the indirect float field.
Declaration
public Text nameLabel
Field Value
Type | Description |
---|---|
Text |
setter
Setter function for this indirect widget.
Declaration
public Action<float> setter
Field Value
Type | Description |
---|---|
Action<Single> |
valueLabel
Value of the indirect float field.
Declaration
public Text valueLabel
Field Value
Type | Description |
---|---|
Text |
Methods
Init()
Initialize the indirect widget.
Declaration
public void Init()
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 | True if the selection is allowed. |