This Custom Unity Package it's under development.
Library that makes easier the tweens while coding thanks to using extensions. For now it's available for tween the colors and the position.
Through scripting, you can easily do a colour interpolation using the extensions:
image.Fade(FadeMode.In);
spriteRenderer.Blink(BlinkMode.OutIn);
material.Recolor(Color.red);
An active interpolation can be overwritten by another. It can also be stoped smoothly or instantly using:
text.StopColorTween();
rawImage.ForcedStopColorTween();
Add the custom package to your project via:
- Package Manager -> + -> Add package from git URL -> https://github.com/Fenikkel/SimpleTween.git
- Any Unity version
- Any pipeline (Build-in, URP, HDRP, etc)
⭐ Star if you like it
❤️️ Follow me for more