Back To Index

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
counterType


counter

The text object that will display the number as it counts up/down.

Exposed Value Type Default Value
private Text null

Back To Top


counterType

Do you want this to count up or down to the target amount?

Exposed Value Type Default Value
private CounterType CounterType.CountDown

Back To Top

Function Definitions

Select the function name from below to jump directly to it on this page.

StartCounting
Update


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.

Back To Top


private void Update()

Is responsible for counting down and setting the counter value.

Expose Value Overrideable Returns
private False Does not return anything

No parameters

Back To Top