2025-08-27 13:30:50 +08:00
|
|
|
class_name TickTool
|
|
|
|
|
|
|
|
|
|
static func millseconds(ms: int):
|
2025-08-27 16:33:21 +08:00
|
|
|
return await WorldManager.tree.create_timer(ms / 1000.0).timeout
|
|
|
|
|
static func frame(count: int = 1):
|
|
|
|
|
for i in range(count):
|
|
|
|
|
await WorldManager.tree.physics_frame
|