
High-performance tweens and sequences in one line of code. Unity 6 ready!PrimeTween is a high-performance, allocation-free tween library for Unity.Animate anything with just one line of code, tweak all animation properties directly from the Inspector, and create complex animation sequences. No runtime memory allocations, ever.Documentation | Forum | FAQ | Support🔥 Highlights 🔥Performance analysis.Zero-allocation animations, shakes, delays, and sequences.Simple and consistent API. Animate anything with one line of code.Installs as a Unity Package Manager (UPM) package.No dependencies on other packages or libraries.Full C# source code is available. Covered by 250+ automated tests and ready for production.💡 Features 💡Animations: animate Transform, Material, UnityEngine.UI (uGUI), UI Toolkit, AudioSource, Light, etc.Custom animations: animate any field or property of type float, Vector, Color, Quaternion, or Rect.Delays: schedule delays, set timers, and use PrimeTween as a non-allocating alternative to 'WaitForSeconds()' and 'await Task.Delay()'.Easing functions: choose a standard easing function, provide a custom AnimationCurve for animations, or use Parametric Easing to fine-tune the standard easings.Shakes: shake the camera, Transform, or any arbitrary property.Callbacks: execute custom code when animations complete.Sequences: combine animations, delays, and callbacks into complex sequences.Inspector integration: all animation properties are tweakable from the Inspector. Tweak start and end values, duration, cycles, etc. Choose a standard easing function or provide a custom animation curve. All without re-compiling the code.Coroutines: wait for animations and sequences in coroutines.Async/await: await animations and sequences in async methods.Cycles: repeat, play animations back and forth like a yoyo, or cycle them indefinitely.Documentation | Forum | FAQ | SupportRequirementsBasic C# knowledge.Unity 2018.4.36 or newer. PrimeTween is extensively tested with Unity 2018.4, 2019.4, 2020.3, 2021.3, 2022.3, and Unity 6.High-performance tweens and sequences in one line of code. Unity 6 ready!
PrimeTween is a high-performance, allocation-free tween library for Unity.
Animate anything with just one line of code, tweak all animation properties directly from the Inspector, and create complex animation sequences. No runtime memory allocations, ever.
Documentation | Forum | FAQ | Support
🔥 Highlights 🔥
Performance analysis.
Zero-allocation animations, shakes, delays, and sequences.
Simple and consistent API. Animate anything with one line of code.
Installs as a Unity Package Manager (UPM) package.
No dependencies on other packages or libraries.
Full C# source code is available.
Covered by 250+ automated tests and ready for production.
💡 Features 💡
Animations: animate Transform, Material, UnityEngine.UI (uGUI), UI Toolkit, AudioSource, Light, etc.
Custom animations: animate any field or property of type float, Vector, Color, Quaternion, or Rect.
Delays: schedule delays, set timers, and use PrimeTween as a non-allocating alternative to 'WaitForSeconds()' and 'await Task.Delay()'.
Easing functions: choose a standard easing function, provide a custom AnimationCurve for animations, or use Parametric Easing to fine-tune the standard easings.
Shakes: shake the camera, Transform, or any arbitrary property.
Callbacks: execute custom code when animations complete.
Sequences: combine animations, delays, and callbacks into complex sequences.
Inspector integration: all animation properties are tweakable from the Inspector. Tweak start and end values, duration, cycles, etc. Choose a standard easing function or provide a custom animation curve. All without re-compiling the code.
Coroutines: wait for animations and sequences in coroutines.
Async/await: await animations and sequences in async methods.
Cycles: repeat, play animations back and forth like a yoyo, or cycle them indefinitely.
Documentation | Forum | FAQ | Support
Requirements
Basic C# knowledge.
Unity 2018.4.36 or newer. PrimeTween is extensively tested with Unity 2018.4, 2019.4, 2020.3, 2021.3, 2022.3, and Unity 6.