- Home /
html links in strings or GUI components possible?
Is there a way to provide web html links in any text or GUI objects in Unity? i.e., If I had some text displayed and if you clicked on a highlighted word it would call a www or wwwform, etc?
Answer by Ashkan_gc · Sep 07, 2010 at 02:55 AM
there is not any easy way to do this. you should create a button or label in the position that you want and then in it's click use Application.OpenURL. if you want to show this inside a block of text then it will not be that easy with fixed layout GUIs so use automatic layouting. if you have a fixed screen resolution like in the iphone, things are easier because you can set the position manually.
take a look an vote for this in feedback
Thanks. I was hoping there would be something else, maybe something I missed. I was hoping Unity would become the next Flash (of the 21st Century). lol. And it just might. Full Web App Development in a 3D environment? Sounds like Next-Gen GUI to me. Go Unity!
Your answer
Follow this Question
Related Questions
HTML text box in iPhone Unity? 0 Answers
rich text issue 3 Answers
Add game to my website? 2 Answers
Convert XML/HTML from RSS feed into something usefull? 2 Answers
Assetstore submission: description html links not working 1 Answer