Custom markup tags

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
davidlim
Posts: 4
Joined: Tue Dec 18, 2018 4:37 pm

Custom markup tags

Post by davidlim »

Hello, I'm trying to achieve a functionality in which onHover on a specific work a script would run.
I think this could be nicely achieved with a tag like so

Code: Select all

If you[hover=someData]HOVER[/hover] me, something cool might happen 
Is this possible ?

If not how should I approach activating some behavior on word being hovered ?
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: Custom markup tags

Post by Tony Li »

Hello David,

Use TextMesh Pro. (See Enable TextMesh Pro Support)

Use TextMesh Pro's <link> tag.

This is a good tutorial: Hyperlinks in Unity UI using Text Mesh Pro.
Post Reply