Powered by DOTween. Tweening Components is a package that provides a set of preset components to animate UGUI in Unity with scriptable objects.
- TextMeshPro
- DOTween
In your Unity project, install DOTween.
Important
Create an Assembly Definition for DOTween.
Install the package from a git URL...
https://github.com/Tirtstan/Tweening-Components.git
- Add a TweenOnEvent component to you desired object:
- Create a Tween profile:
- Edit the Tween profile to your desired liking:
- Edit the TweenOnEvent component with all references and desired configurations:
Done!
Certain fields on the profiles like target and factor will not affect the tween depending on the chosen mode.