mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Merge pull request #2863 from e8johan/e8johan-yield-animation_finished
Change example signal name to animation_finished
This commit is contained in:
@@ -1486,7 +1486,7 @@ signal is received, execution will recommence. Here are some examples::
|
||||
yield(get_tree(), "idle_frame")
|
||||
|
||||
# Resume execution when animation is done playing.
|
||||
yield(get_node("AnimationPlayer"), "finished")
|
||||
yield(get_node("AnimationPlayer"), "animation_finished")
|
||||
|
||||
# Wait 5 seconds, then resume execution.
|
||||
yield(get_tree().create_timer(5.0), "timeout")
|
||||
|
||||
Reference in New Issue
Block a user