- Home /
Clickable link with text
I stored Target images in my server url. I need to give clickable to my url path. I need to give hyperlink to here :www.myserver.net/images
GUIStyle titleStyle;
if (mButtonGUIStyles.TryGetValue("AboutScreenTitle", out titleStyle))
{
GUI.Box(new Rect(10,40,Screen.width,mAboutTitleHeight),"1. Print the alphabet image targets located at www.myserver.net/images",titleStyle);
}
Comment
If you want to open your url in a browser, you can use Application.OpenURL(). You'll have to figure out hot to trigger this load. A GUI.Button() is easiest, but you can test for a click inside the rect you use for the box using GUI events.
Your answer
Follow this Question
Related Questions
Accesing the text component of a button on Unity 4.6 3 Answers
Text isn't showing up on button 0 Answers
Lags, when i clicked several time on button 1 Answer
create a button with name and text for every game object with tag 0 Answers
How can I put a value on a button and display it on a text box? 1 Answer