UITweenSequence Class
Definition
Namespace: Brine2D.UI
Runs a list of UITween instances sequentially, each starting only after the previous one completes.
Inheritance System.Object → UITweenSequence
Remarks
Register with StartTween\(UITweenSequence\) for automatic updates, or call Update\(float\) manually.
| Properties | |
|---|---|
| Current | The tween currently being animated, or null when the sequence is empty or complete. |
| IsComplete | Whether every tween in the sequence has completed. |
| IsPaused | Whether the sequence is paused. Paused sequences ignore Update\(float\) calls. |
| Methods | |
|---|---|
| CompleteAll() | Immediately completes all remaining tweens in the sequence and fires OnComplete. |
| Reset() | Resets all tweens and restarts from the first one. |
| Then\(UITween\) | Appends a tween to the sequence and returns this for chaining. |
| Then\(float, float, float, Action<float>, Func<float,float>\) | Convenience overload — constructs and appends a tween in one call. |
| Update\(float\) | Advances the currently active tween by deltaTime seconds. |
| Events | |
|---|---|
| OnComplete | Fired once when all tweens have finished. |