mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-14 14:33:53 +01:00
9 lines
325 B
Plaintext
9 lines
325 B
Plaintext
function run_in(frame, func, args = []) {
|
|
var ts = time_source_create(time_source_global, frame, time_source_units_frames, func, args);
|
|
time_source_start(ts);
|
|
}
|
|
|
|
function run_in_s(sec, func, args = []) {
|
|
var ts = time_source_create(time_source_global, sec, time_source_units_seconds, func, args);
|
|
time_source_start(ts);
|
|
} |