Purpose

Jump the timeline to time specified in seconds.

Syntax

void JumpGlobalTime(float time)

  • time : Time to jump to expressed in seconds (float)

Example

var frame = 0;

function Update() {
    if (frame % 100 == 0) {
        JumpGlobalTime(5.0);
    }
    frame = frame + 1;
}