API C Timer.After

Schedules a new timer. C_Timer.After(duration, callback)

Arguments

 * duration : - Time in seconds before the timer finishes.
 * callback : - Callback function to run.

Details

 * With a duration of 0 or 1 ms, the earliest the callback will be called is on the next frame.
 * Timing accuracy is limited to the frame rate.
 * C_Timer.After is generally more efficient than using an Animation or OnUpdate script.

Examples
Prints "Hello" after 2.5 seconds.

Repeating timer which calls itself recursively.