CallbackTweener
Configure a CallbackTweener command within a Tween sequence.
Obtain CallbackTweener through a valid Tween TweenCallback(); 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.
Invokes a no-argument Callable once per pass. SetDelay postpones execution rather than blocking a thread. Parent loops repeat the callback; its return does not become a sequence result.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
CallbackTweenerConstructor
public CallbackTweener();Do not call new CallbackTweener(): its native constructor emits an error. Create through Tween.TweenCallback on a valid Tween; this is a sequence command rather than a standalone timer/animation.
Methods1
SetDelayCallbackTweener
public CallbackTweener SetDelay(double delay);Delays a no-argument Callable by the specified Tween time. Called once per pass rather than every frame; parent loops can invoke it again. Delay neither blocks the main thread nor starts a worker. Callback return value is not a Tween result.
| Name | Type | Default |
|---|---|---|
delay | double | — |
delayNonnegative finite delay in Tween seconds.
CallbackTweenerThe same command object for configuration, not an independent copy. From can yield null for an invalid state/type.