Counter
Jump To Parameters
Jump To Function Definitions
Parameter Definitions
Select the parameter name from below to jump directly to it on this page.
counter
The text object that will display the number as it counts up/down.
| Exposed Value | Type | Default Value |
|---|---|---|
| private | Text | null |
counterType
Do you want this to count up or down to the target amount?
| Exposed Value | Type | Default Value |
|---|---|---|
| private | CounterType | CounterType.CountDown |
Function Definitions
Select the function name from below to jump directly to it on this page.
public void StartCounting(float amount)
Start counting down from the specified input amount.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | False | Does not return anything |
| Parameter Name | Description |
|---|---|
| amount | float type, the amount of time to start counting down from. |
private void Update()
Is responsible for counting down and setting the
countervalue.
| Expose Value | Overrideable | Returns |
|---|---|---|
| private | False | Does not return anything |
No parameters