Skip to content

timer_countdown_time

Kamran Wali edited this page Dec 2, 2024 · 4 revisions

Inherits: timer_countdown

Description

timer_countdown_time is the script that counts down from a given second to 0. The time second can be pre-defined before the scene/application starts.

Tutorial

Properties

Type Name Default Value
COP_FixedFloatVar _time_seconds

Methods

Return Type Name
void _ready()

Property Descriptions

COP_FixedFloatVar _time_seconds

The time to set for this timer. The time given is in seconds. _time_seconds time will be used to set the timer by calling the method set_time.


Method Descriptions

void _ready ()

This method sets the timer at application start. It calls the set_time method by sending the _time_seconds value.


Clone this wiki locally