/FlowTween

Extensible and easy-to-use tweening library for Unity with strong editor integration

Primary LanguageC#MIT LicenseMIT

FlowTween

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);
}

bild

Not too familiar with all the ease types? You can preview them right in the editor!

FlowTweenExample2

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!

FlowTweenExample

Note: The Tweener component is fully incompatible with IMGUI.

Check out the wiki for more examples and a list of all the features.

Installation

FlowTween can be installed like a normal package in the Package Manager

  1. Open Package Manager
  2. Press the + button in the top left
  3. Choose "Add package from Git URL..."
  4. Add https://github.com/Kesomannen/FlowTween.git