godot-start/zfoo/test/scheduler/SchedulerTest.gd

9 lines
367 B
GDScript
Raw Normal View History

2021-10-03 09:23:08 +00:00
const SchedulerBus = preload("res://zfoo/scheduler/SchedulerBus.gd")
const MySchedulerRunnable = preload("res://zfoo/test/scheduler/MySchedulerRunnable.gd")
const TimeUtils = preload("res://zfoo/scheduler/TimeUtils.gd")
static func test():
2021-10-04 08:56:52 +00:00
print("-----------------------SchedulerBus-----------------------")
2021-10-03 09:23:08 +00:00
SchedulerBus.schedule(MySchedulerRunnable.new(), 5000)