Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Text background color on some letters

$
0
0
Hi,

I have a Text(Script) component the following text:
"My name is <b>Boi</b>."
With the Rich Text checkbox turned on, it looks like:
"My name is Boi."
So far so good. Now I would like to change the background color the letters in my name (Boi), let's say to yellow. Unfortunatelly the Rich Text doesn't support a background color tag. Only color tag. So how would one go about this? I can not just manually put an image with a yellow texture behind the text, because I would like a...

Text background color on some letters

Viewing all articles
Browse latest Browse all 23263

Trending Articles