Page 1 of 1
Getting RichText applied to DialogueSystem - <b></b> is not working. HELP!
Posted: Wed Mar 24, 2021 1:34 pm
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?
Re: Getting RichText applied to DialogueSystem - <b></b> is not working. HELP!
Posted: Wed Mar 24, 2021 1:35 pm
by Tony Li
Hi,
Inspect your UI Text component. Is the Rich Text field ticked?
Re: Getting RichText applied to DialogueSystem - <b></b> is not working. HELP!
Posted: Wed Mar 24, 2021 1:48 pm
by fkkcloud
It is ticked.
- 1222.png (19.47 KiB) Viewed 475 times
It says Bold there but the actual subtitle text does not have Bold.
And trying color also does not gets applied as well.
Re: Getting RichText applied to DialogueSystem - <b></b> is not working. HELP!
Posted: Wed Mar 24, 2021 1:55 pm
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.