Selectable Text or Phrases in Dialogue?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Hanohi Games
Posts: 4
Joined: Tue May 06, 2025 1:44 am

Selectable Text or Phrases in Dialogue?

Post by Hanohi Games »

Hi everyone. Is there a baked-in way to make certain text phrases selectable within the dialogue? I would like to eventually build a drag and drop system for text within the subtitle panels that I could move into a different container (like a notebook or another character). I was thinking I would just tag it and then somehow make it selectable, but I was wondering if there was something built-in?
User avatar
Tony Li
Posts: 23251
Joined: Thu Jul 18, 2013 1:27 pm

Re: Selectable Text or Phrases in Dialogue?

Post by Tony Li »

Hi,

That isn't built in, but you can use TextMesh Pro <link> tags. Please see this post for examples.

The Dialogue System Extras page has an older example called Keywords (direct download) that also uses <link> tags. It uses the older UnityUIDialogueUI dialogue UI scripts, but that's beside the point. You can do the same with StandardDialogueUI. If you check out this example, play the version in the TMP Version subfolder.
Hanohi Games
Posts: 4
Joined: Tue May 06, 2025 1:44 am

Re: Selectable Text or Phrases in Dialogue?

Post by Hanohi Games »

Thanks! Those are perfect!
User avatar
Tony Li
Posts: 23251
Joined: Thu Jul 18, 2013 1:27 pm

Re: Selectable Text or Phrases in Dialogue?

Post by Tony Li »

Glad to help!
Post Reply