Luca3317 / TMPEffects

Easily animate Unity text and apply other effects with custom tags
https://luca3317.dev/tmpeffects
MIT License
205 stars 6 forks source link

Bug: Animation scaling is broken between different TMP_Text components #11

Closed Luca3317 closed 2 months ago

Luca3317 commented 2 months ago

Describe the bug Animations are scaled differently depending on whether they are applied to TextMeshProUGUI or TextMeshPro texts.
TextMeshPro texts are more pronounced, e.g. vertices move further distances, wave offsets are larger.

To Reproduce Use the exact same animation on two identical texts, one on a TextMeshPro component and one on a TextMeshProUGUI component, with the ScaleAnimations option set to true for both of them.

Expected behavior The animations appear identical relative to the rendered size of the text.

Screenshots

Lorem ipsum - TextMeshProUGUI ![image](https://github.com/Luca3317/TMPEffects/assets/32490849/63ecf8ef-ebb1-4c76-9be5-c3828afca544) Lorem ipsum - TextMeshPro ![image](https://github.com/Luca3317/TMPEffects/assets/32490849/73ef6458-5b63-4df4-9c49-f0ecbe96a7d0)