mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 15:06:22 +01:00
9 lines
No EOL
325 B
Text
9 lines
No EOL
325 B
Text
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);
|
|
} |