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

Опубликовано: 12 Декабрь 2022
на канале: 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


Смотрите видео Detect hover over words inside the text box💛 TextMesh Pro Link tag онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Christina Creates Games 12 Декабрь 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 5,262 раз и оно понравилось 153 посетителям.