How to make Text have a rainbow effect in Unity (Part 1)
In this 1st part of a 3 part series, I talk about how to achieve a rainbow effect on TextMeshPro text in unity. By utilizing some example code that is included in TextMeshPro and applying a gradient we are able to create the effect rather simply.
To find out more about this series do not forget to subscribe to watch more.
If you are interested in talking to me directly or are interested in any of the games I am working on you can message me on my discord: https://discord.gg/jkRyqqKN
Want to follow me on twitch whenever I livestream games from time to time,
well here is my twitch: https://www.twitch.tv/cardboard_pi/
If you want to play my games Spherikill or Ballapalooza they are free to play on itch.io. Links are in the "rules" section on the discord.
Music used: Shop Theme from Undertale (Created by Toby Fox)
Chapters
0:00 - Intro
0:25 - Setting Up Scene
1:45 - Understanding How To Affect Characters
4:07 - Creating A Gradient For Our Text
4:57 - Getting Color From Our Gradient
5:40 - Understanding The Layout Of The Gradient On The Text
7:00 - Adjusting Speed of Gradient/Rainbow Effect
7:16 - Demoing The Rainbow Effect
7:41 - Multiple Colors In One Character
8:47 - Caveats To Be Resolved In The Next Episode
9:31 - The End