TextTween is a lightweight Unity library designed to animate TextMesh Pro (TMP) texts with high performance. It leverages Unity's Job System and Burst Compiler to deliver smooth and efficient character-level animations.
- 🚀 High-performance character animation using Jobs and Burst
- 🔠 Fine-grained control over individual TMP characters
- 🎮 Easy to integrate into existing Unity projects
- 🧩 Lightweight and dependency-free (except TMP)
You can add the package via PackageManager with the URL:
[email protected]:AlicanHasirci/TextTween.git
- Start by adding TweenManager to your text.
- Bind the text to Text property.
- Add modifier components to a game object and add them to the list of Modifiers. Re-arrange the modifiers to change the order of modification.
- By changing the Offset value, you can adjust the char animation overlap. '0' for all letters animating together, '1' for all letters to animate one by one.
Allows you to modify letters position, scale or rotation according to curve over progress of TweenManager.
- Curve: Add easing to progress propagated by tween manager.
- Type: Shows the value to modify(position, rotation or scale).
- Scale: Dimension mask for scale operation.
- Intensity: Amount of change per axis.
- Pivot: Pivot point of transformation.
Lets to change the color of letters over time.
- Gradient: The colors that will be interpolated according to progress.
Warps the lines of text according to intensity and curve provided over progress. The intensity is multiplied by the curve value and applied to letters as Y displacement.
- Intensity: Amount of displacement
- Warp Curve: Curve to be used by modifier