Ryan Tensmeyer
Ryan Tensmeyer

Reputation: 875

Why are all of my text mesh pro (tmp) the same color on my Unity canvas

I have been working on a project in Unity. It's a 3D project and I have a 2D canvas. I have been going through and making several buttons with Text Mess Pro (TMP) on them. I have been changing the color of the text by adjusting the Color Gradient in the Inspector. But when I tried to changed one of them the other day, it got stuck on Black. I don't remember what I did to cause this and I didn't realize it at the time, but it also changed the text on all of my buttons to black.

As I've been looking for a solution (and through previous experimentation of my own) I have learned that changing the color gradient can affect other TMP's that share that gradient, but I can't figure out how to get any of the text colors to change now.

Does anyone have any suggestions?

(My project is in Unity 2019.2.6f1)

Upvotes: 1

Views: 8943

Answers (1)

rokgin
rokgin

Reputation: 156

In TMP you have Vertex color which will change the color of the text instance you are working on and you have Material Color, that will change all the TMP text colors that use the same Material (Usually all of the same font). I have attached an image of the two color options. Are you sure you are changing the correct one.

Different Color Options

Upvotes: 2

Related Questions