Getting RichText applied to DialogueSystem - <b></b> is not working. HELP!

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Getting RichText applied to DialogueSystem - <b></b> is not working. HELP!

Post by fkkcloud »

Hello,
RECORDED <b>YUNA</b>'s VOICE: “Travelling is pretty nice”
The word "YUNA" does not get bold.
I am using the regular "Text" component in my DialogueSystem prefab for all panels.

What am I missing or should toggle/tick to get the rich text working?
User avatar
Tony Li
Posts: 22047
Joined: Thu Jul 18, 2013 1:27 pm

Re: Getting RichText applied to DialogueSystem - <b></b> is not working. HELP!

Post by Tony Li »

Hi,

Inspect your UI Text component. Is the Rich Text field ticked?
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Re: Getting RichText applied to DialogueSystem - <b></b> is not working. HELP!

Post by fkkcloud »

It is ticked.
1222.png
1222.png (19.47 KiB) Viewed 473 times
It says Bold there but the actual subtitle text does not have Bold.
And trying color also does not gets applied as well.
User avatar
Tony Li
Posts: 22047
Joined: Thu Jul 18, 2013 1:27 pm

Re: Getting RichText applied to DialogueSystem - <b></b> is not working. HELP!

Post by Tony Li »

When you change the Font Style dropdown to Bold, does it change the entire text to Bold?

As a test, create a new UI Text element that uses that font. Manually enter some rich text into the Text field, such as:

Code: Select all

<color=red>This is red.</color> This is <b>bold.</b>
If it doesn't work, then try a different font.
Post Reply