Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
AwaitTweener
继承: Tweener < RefCounted < Object
等待指定信号。
描述
AwaitTweener 用于等待指定的信号,从而允许在 Tween 动画中执行异步步骤。更多用法信息见 Tween.tween_await()。
当接收到所等待的信号、达到超时期限或目标对象被释放时,即会发出 Tweener.finished 信号。
方法
set_timeout(timeout: float) |
方法说明
AwaitTweener set_timeout(timeout: float) 🔗
设置 AwaitTweener 等待信号的最长时间。可作为一种保障机制,用于处理那些可能永远不会被发出的信号。如果未指定该值,该补间动画将无限期等待。