Enum TweenTiming
Tween timing defines when a tween is updated and what time it's being calculated with.
Namespace: Sttz.Tweener
Assembly: cs.temp.dll.dll
Syntax
[Flags]
public enum TweenTiming
Fields
Name | Description |
---|---|
Default | Default preset. Update tweens during the update loop and use the default time. |
DefaultTime | Use Unity's default time (i.e. |
FixedUpdate | Update the tween during Unity's fixed update loop (best when animating properties interacting with physics). |
LateUpdate | Update the tween during Unity's late update loop (best for overwriting other animations). |
Menu | Menu preset. Update tweens during the update loop and use unscaled time.
This allows tweening while the game is paused by setting
|
Physics | Physics preset. Update tweens during the fixed update loop and use the default time. |
RealTime | Use Unity's real time (i.e. |
Undefined | Undefined timing. The parent scope's timing is used in this case. |
UnscaledTime | Use Unity's unscaled time (i.e. |
Update | Update the tween during Unity's update loop (best for visuals). |