Dialogue System Inline Image with TextMesh Pro

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
GrayShade
Posts: 1
Joined: Fri Jan 12, 2024 11:12 pm

Dialogue System Inline Image with TextMesh Pro

Post 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
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System Inline Image with TextMesh Pro

Post 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?
Post Reply