A modern and easy-to-use tweening library for Unity 2022.3+. You can use FlowTween fluently like any other tweening library:
transform.TweenX(10)
.EaseOut(EaseType.Cubic)
.SetDuration(1);
But the real magic lies in the helper classes, like TweenSettings
,
which let's you easily customize your tweens in the inspector:
[SerializeField] TweenSettings _settings;
void Start() {
transform.TweenX(10).Apply(_settings);
}
Not too familiar with all the ease types? You can preview them right in the editor!
Note: FlowTween is not fully compatible with IMGUI. If you have an IMGUI custom editor, or a package like NaughtyAttributes which overrides all editors, the tween preview will not show.
Prefer a no-code approach? The Tweener
component can tween tons of properties without a single line of code!
Note: The Tweener component is fully incompatible with IMGUI.
Check out the wiki for more examples and a list of all the features.
FlowTween can be installed like a normal package in the Package Manager
- Open Package Manager
- Press the
+
button in the top left - Choose "Add package from Git URL..."
- Add
https://github.com/Kesomannen/FlowTween.git