TextTween
July 21, 2025 ยท View on GitHub

TextTween
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.
โจ Features
- ๐ 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)
Compatibility
| Unity Version | Compatible |
|---|---|
| 2021 | ? |
| 2022 | โ |
| 6 | โ |
| Render Pipeline | Compatible |
|---|---|
| URP | โ |
| HDRP | โ |
๐ฆ Installation
Releases
You can find .unitypackage bundles in the Releases section.
Package Manager - NPM
You can add the package via the PackageManager via NPM
- Open Unity Package Manager
- (Optional) Enable Pre-release packages to get the latest, cutting-edge builds
- Open the Advanced Package Settings
- Add an entry for a new "Scoped Registry"
- Name:
NPM - URL:
https://registry.npmjs.org - Scope(s):
com.alicanhasirci.texttween
- Name:
- Resolve the latest
com.alicanhasirci.texttween
Package Manager - Git
You can add the package via PackageManager with the URL:
git@github.com:AlicanHasirci/TextTween.git
Raw
Clone or download the repo and include in somewhere in your project's Assets folder. Recommendation is to group this and other libraries under a single ThirdParty folder for ease of identification.
๐ Usage

- Start by adding TweenManager to your text.
- Bind the text to Texts 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.
Modifiers
1.Interval Modifier

Changes the character intervals by either overlapping or differing them.
2.Transform Modifier

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.
3.Color Modifier

Lets to change the color of letters over time.
- Gradient: The colors that will be interpolated according to progress.
4.Warp Modifier

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
Performance
| Text | Color Modifier Op/s | Transform Modifier Op/s | Warp Modifier Op/s |
|---|---|---|---|
| A | 21,227 | 86,917 | 136,197 |
| Ax10 | 16,750 | 23,957 | 77,840 |
| Ax100 | 9,150 | 8,000 | 1,682 |
| Ax1,000 | 2,302 | 1,552 | 3,182 |
| Ax10,000 | 277 | 172 | 345 |
| Ax16,250 | 170 | 97 | 212 |
Contributing
Please open issues if you encounter any problems!
This project uses CSharpier with the default configuration to enable an enforced, consistent style. If you would like to contribute, recommendation is to ensure that changed files are ran through CSharpier prior to merge. This can be done automatically through editor plugins, or, minimally, by installing a pre-commit hook