Detect hover over words inside the text box💛 TextMesh Pro Link tag

Published: 12 December 2022
on channel: Christina Creates Games
5,262
153

Learn how to use the TextMesh Pro Link Tag to detect if you hover over certain words in text box! We will reuse a few scripts from the previous tutorial and learn how to show a tooltip at the positions your player hovers over. Since we're going to use events, you can use this way of detection for your own systems, too!

👉 Link to the github repository: http://bit.ly/3HqnHxV

💬 Discord 💛
You are very welcome to join!
  / discord  

🛍️ Store links 🛍️
If you'd like to support my channel, consider using my affiliate link when buying cool stuff in the Unity asset store: https://assetstore.unity.com/?aid=110... [Affilate link]
Synty Store: https://syntystore.com/mh/christina [affiliate]

🌟 Need help with your project's UI?🧠
I have been a designer for more than 15 years, a teacher for three and I offer paid consulting for your project! You can find all the information here:
https://www.vennegerts.com/gamedevelo...
I am looking forward to hearing from you 💛

🎮 Play my games on Itch.io 🎮
https://christinacreatesgames.itch.io

📖 Chapters 🔖
00:00 What we will be creating
00:29 The Link handler - reusing script parts
01:00 Why update and not IPointerEnter and IPointerExit?
01:20 Expanding on the TextMeshPro Link Handler
02:58 Adding the mouse Position to the event
03:40 Closing the Tooltip
03:50 .GetLinkID() vs .GetLinkText()
04:12 Expanding the TooltipInfo with a Description
04:22 Expanding the ToolTipHandler with a few lines of code
05:09 The result and an outlook to the next videos

#unitytutorial


Watch video Detect hover over words inside the text box💛 TextMesh Pro Link tag online, duration hours minute second in high quality that is uploaded to the channel Christina Creates Games 12 December 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 5,262 times and liked it 153 visitors.