Page 1 of 1

Dialogue System Inline Image with TextMesh Pro

Posted: Fri Jan 12, 2024 11:30 pm
by GrayShade
I've been having some issues with this task for a few days. I am looking to input sprites in line with the Dialogue System's Conversation, Dialogue Text. I have found a handful of form posts, but most are 5+ years old and/or have incomplete data. I have my icons working as Sprite Assets for TMP, and they work great in TMP text boxes, but I am not finding a solution for Unity's Dialogue System. I have enabled support for TextMesh Pro, but no iteration of the <sprite> tag seems to work. I am certain I am doing something wrong, but I am having trouble finding a solution. Any help would be greatly appreciated, and any additional info I can provide, please let me know!

Thank you!

TextMesh Pro: 3.0.6
Unity Dialogue Syster: 2.2.33
Unity: 2021.3.5

Re: Dialogue System Inline Image with TextMesh Pro

Posted: Sat Jan 13, 2024 8:44 am
by Tony Li
Hi,

In your dialogue UI, have you assigned a TextMeshProUGUI to your subtitle panel's Subtitle Text field? (more info)

If so, what appears in the subtitle panel when your Dialogue Text uses a <sprite> tag?