Page 1 of 1
Add actor name to bubble
Posted: Thu Mar 02, 2023 10:42 am
by pmand
I would like to add the actor's name to the top center of each bubble.
How can I do this?
- Clipboard01.jpg (6.33 KiB) Viewed 292 times
Re: Add actor name to bubble
Posted: Thu Mar 02, 2023 1:16 pm
by Tony Li
Hi,
That would be the subtitle panel's Portrait Name. Just add a Text or TextMeshProGUI component to the bubble, and assign it to the subtitle panel's Portrait Name field. If you're using TextMesh Pro and haven't enabled the Dialogue System's support for it yet, see
here.
If you're unsure how to position the Portrait Name at the top center, I recommend the
Working With UI In Unity tutorial.
Re: Add actor name to bubble
Posted: Thu Mar 02, 2023 1:20 pm
by pmand
Awesome! Thanks for the help!
Re: Add actor name to bubble
Posted: Thu Mar 02, 2023 1:28 pm
by Tony Li
Glad to help!