Initial commit
This commit is contained in:
commit
3b96451047
71 changed files with 2302 additions and 0 deletions
12
addons/walkabout/events/delay_event.gd
Normal file
12
addons/walkabout/events/delay_event.gd
Normal file
|
@ -0,0 +1,12 @@
|
|||
@icon("delay_event.svg")
|
||||
class_name WBDelayEvent
|
||||
extends WBEvent
|
||||
## Event that waits for a given duration.
|
||||
|
||||
|
||||
## Time to wait for.
|
||||
@export_custom(0, "suffix:s") var delay: float
|
||||
|
||||
|
||||
func _perform() -> void:
|
||||
await create_tween().tween_interval(delay).finished
|
Loading…
Add table
Add a link
Reference in a new issue