Built-in Timer library.
Last updated 1 year ago
function ExampleTimer() { // This will get called each 5 second. return true; // If you return false it will not get called next time. } Timer.Add(ExampleTimer, 5.0);
Timer.Add(callback: function, delay: float): Timer
Timer.Add(callback: function, delay: float)
Creates a new Timer object.
Timer_Object.Destroy()
Destroys a Timer object.
remaining
float (Read Only)
Time remaining before next call
callback
function
Callback that will get called
delay
float
Delay in seconds