DOTween (HOTween v2)
Info
- DOTween is a fast, efficient, fully type-safe object-oriented animation engine for Unity
- Optimized for C# users, free and open-source, with tons of advanced features
- Free version, in
Assets/Plugins/DOTween. Docs: dotween.demigiant.com/documentation.php
What we use
- In code:
transform.DOMove(...), DOTween.Sequence(), .SetEase(), .SetLink(gameObject); await tweens with UniTask (await tween.ToUniTask(), needs define UNITASK_DOTWEEN_SUPPORT, already set)
- In inspector: Polis Tweening instead of writing tweens by hand
TweenAnimationController (component), TweenAnimationField (embed in own component)
TweenSequence of ITweenSegments, TweenAnimationPreset assets
TweenToggleState, TweenSelectableTransition for UI states
- Build Tool action
DoTweenConfigurator sets DOTween logging per build (verbose in debug, errors only in release)
Notes
- Kill or link tweens to their object (
SetLink, Kill) so they don't run on destroyed objects