Tweens for Text Animation *Values* #159
Replies: 2 comments 3 replies
-
Hey, There is currently no support for scrambling strings or animating them character by character. I have something in the works for the Pro version, but it's not ready to be released yet. But it's possible to create a counter or typewriter animation, please see these posts:
Thank you for the suggestion, I'll add it in the next version! |
Beta Was this translation helpful? Give feedback.
-
@nscimerical I added the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, is it possible to support animating text values like in LitMotion (Text Animation), specifically for UI Toolkit. Use case is for animating a resource counter to move towards a value, for example, when receiving 100 gold coins from a value of 0, animate the coin counter from 0 -> 100 in a span of 2 seconds.
Additionally, UI Tweens don't seem to support UI Toolkit specific variables. For example,
Tween.Alpha
does not support UI Toolkit'sVisualElement.style.opacity
. In LitMotion, this is done usingLMotion.Create(...).BindStyleOpacity(visualElement)
. I'm already doing it withTween.Custom()
but it would be nice to natively support this functionality.Note: This is not a duplicate of #149 (it is asking for Text and TextMeshPro parameters like color and material).
Beta Was this translation helpful? Give feedback.
All reactions