AwaitTweener
Configure a AwaitTweener command within a Tween sequence.
Obtain AwaitTweener through a valid Tween TweenAwait(); direct construction is invalid. The command is already appended to the parent. Configure before processing; fluent methods return the same wrapper rather than an independent copy.
Waits for a Signal or the configured timeout in Tween time. Finished does not distinguish these causes. A signal received before command start is reset at start; tested with manual steps.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
AwaitTweenerConstructor
public AwaitTweener();Do not call new AwaitTweener(): its native constructor emits an error. Create through Tween.TweenAwait on a valid Tween; this is a sequence command rather than a standalone timer/animation.
Methods1
SetTimeoutAwaitTweener
public AwaitTweener SetTimeout(double timeout);Sets a maximum wait in Tween seconds rather than wall-clock seconds or a C# Task timeout. A negative value disables timeout; 0 finishes on the next positive step. Reaching the threshold finishes without a Signal and advances the sequence. Finished does not distinguish signal from timeout: track signal receipt separately when needed. Does not cancel the event source.
| Name | Type | Default |
|---|---|---|
timeout | double | — |
timeoutTween-seconds threshold: <0 disables timeout, 0 on the next positive step, >0 bounds waiting.
AwaitTweenerThe same command object for configuration, not an independent copy. From can yield null for an invalid state/type.