- Home /
I need to add a hyperlink to a string that appears on a GUI texture.
I have a trigger that pulls up a GUI texture with text on it. I would like to add a link in the messagetodisplay string so that the player will be able to run into the trigger, read the text, click on the link, and then have it open in another tab bringing up the website (youtube most likely).
It's a game that will be played on the unity web player.
Sorry, but I don't see a question anywhere in there.
How would I add a hyperlink in the string? I got the Application.OpenURL() to work, but I don't want the trigger to open as soon as it's touched. I want the player to be able to click on a link.
Sorry, I was trying to be descriptive and then forgot to actually put my question in there.
Answer by robertbu · Jan 11, 2013 at 06:23 AM
However you want to trigger it, Application.OpenURL() will open a new web page in the default browser.