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 等待訊號的最長時間。可作為一種保障機制,用於處理那些可能永遠不會被發出的訊號。如果未指定該值,該補間動畫將無限期等待。