Class AxisCounterUI
AxisCounterUI accompanies AxisCounter, providing settings for displaying these numerical values
Inherited Members
Namespace: Axis.Logic
Assembly: cs.temp.dll.dll
Syntax
public sealed class AxisCounterUI : AxisMonoBehaviour
Fields
BarFillamountImage
UI Image with fillamount set, to display current value proportionally between min and max value.
Declaration
public Image BarFillamountImage
Field Value
Type | Description |
---|---|
Image |
ChangeValueMinSpeed
After value changes, if you setup a text label or bar fillamount to display value this will be the minimum speed displayed value will lerp to current value.
Declaration
public float ChangeValueMinSpeed
Field Value
Type | Description |
---|---|
float |
Remarks
Set 0 (zero) to display immediate changes without lerping.
IconsToEnable
Array of images to be displayed or hidden as counter value changed. Example: when value is 0 all icons in the list will be hidden, when value is 1 only first icon on the list will be visible, and so on.If it lacks icon on the list for current value nothing happens.
Declaration
public Image[] IconsToEnable
Field Value
Type | Description |
---|---|
Image[] |
Remarks
Example: when value is 0 all icons in the list will be hidden, when value is 1 only first icon on the list will be visible, and so on. If it lacks icon on the list for current value nothing happens.
LegacyTextLabel
Set the associated Legacy Text text label to display counter current value.
Declaration
public Text LegacyTextLabel
Field Value
Type | Description |
---|---|
Text |
StringFormat
String format for displaying numbers. Default: N0
Declaration
public string StringFormat
Field Value
Type | Description |
---|---|
string |
TMPTextLabel
Set the associated TMPro text label to display counter current value.
Declaration
public TMP_Text TMPTextLabel
Field Value
Type | Description |
---|---|
TMP_Text |