Hi 😀 A short extra trick that didn't make it into the latest video but which I think is super neat: You can recolor your sprites inside text boxes, too, of course! If you write tint=1 inside the sprite tag, it takes on the same color you set inside the style tag or chosen vertex color of your TMP component. This also works with gradients! I posted an example image on my community post site. Plus, as the question has come up, you can recolor the sprites in themselves, too. Each Sprite already comes with its own material and link to the TextMeshPro/Sprite Shader. Somehow creating a new material for a sprite won't work, but give this code a try: pastebin.com/i4My0mMR You can hand it a Sprite asset and a couple colors in the list (make sure you don't set alpha to the default 0 ;D Happened to me during testing). It should change the color of your sprite every second to something random. I guess you'll find ways to expand on it :D
I massively enjoy these materials :] I'd use gradients once the text gets too small to notice the details, but for headlines and such? They are awesome. Thank you for the feedback 😊
I like that you picked up little bit niche topic and sticking to it. Because of that your videos are diving deep into a lot of useful stuff that nobody talks about. Nice work
I appreciate that ❤️ Thank you for the feedback :) I honestly thought at the beginning, I would be making two or three videos on this topic, but typography and text is so important to games that I thought a deep dive would be in order ;) I'm super happy whenever I have a look into my analytics and see more and more people coming to my little channel and wanting to learn stuff about these topics ❤️
Glad to hear it =)! Unity is working on making the location not as hard coded, but it might still take a moment until it gets implemented across the board.
Hi 😀
A short extra trick that didn't make it into the latest video but which I think is super neat: You can recolor your sprites inside text boxes, too, of course! If you write tint=1 inside the sprite tag, it takes on the same color you set inside the style tag or chosen vertex color of your TMP component. This also works with gradients! I posted an example image on my community post site.
Plus, as the question has come up, you can recolor the sprites in themselves, too. Each Sprite already comes with its own material and link to the TextMeshPro/Sprite Shader. Somehow creating a new material for a sprite won't work, but give this code a try: pastebin.com/i4My0mMR You can hand it a Sprite asset and a couple colors in the list (make sure you don't set alpha to the default 0 ;D Happened to me during testing). It should change the color of your sprite every second to something random. I guess you'll find ways to expand on it :D
Using materials is pretty cool. I can see many use cases for it with some basic shaders applied too.
Yet another great video.
I massively enjoy these materials :] I'd use gradients once the text gets too small to notice the details, but for headlines and such? They are awesome.
Thank you for the feedback 😊
I like that you picked up little bit niche topic and sticking to it. Because of that your videos are diving deep into a lot of useful stuff that nobody talks about. Nice work
I appreciate that ❤️ Thank you for the feedback :) I honestly thought at the beginning, I would be making two or three videos on this topic, but typography and text is so important to games that I thought a deep dive would be in order ;) I'm super happy whenever I have a look into my analytics and see more and more people coming to my little channel and wanting to learn stuff about these topics ❤️
@@ChristinaCreatesGames good to hear. I came to your channel because of pitit so you can thx him xd
@@MarekNijaki hah, will do!
Christina, thank you so much
Thank you =D TMP is so powerful once you go beyond just did playing some text ;)
Very nice!!
I had no idea this was even a potential feature!!
It is! And it's super cool ;D Just make sure that your text stays readable 😄
I have barely even touched Unity but this is very interesting and I like the look :P
(I subscribed btw)
Woohoo, thank you =)! I hope you'll remember to come back once you are at a point where you'd like to improve your TMP workflows ;)
@@ChristinaCreatesGames Well at the very least I've shown it to my programmer so it's another tool at our disposal for the project we're working on :P
Oooh, awesome, thank you ;D!
This is so good! I want to go out and make terrible font decisions!
Noooooo! Don't do it 😄! (Thank you, though ;D)
@@ChristinaCreatesGamesحب9زح 9
ك😊😊د
Annoying that you have to name the gradient folder precisely and within the resources folder. But thank-you, it solved my issue!
Glad to hear it =)! Unity is working on making the location not as hard coded, but it might still take a moment until it gets implemented across the board.
Nice tutorial! But why is inner shadow doesn't work?
Very cool!
Thank you, I'm glad you like it!
awesome!!
Thank you =D!
Nice 👍
Thanks ✌
thanks
You're welcome!
🤯