- Home /
Question by
Itsproinc · Jan 06, 2013 at 09:40 AM ·
c#javascriptbutton
How to make a script that will open a website using default browser?
Is there is a way to make a script to open a website using a default browser? i have a button can be clicked using a physics box collider when i click it it will go to a website for example it will goto www.unity3d.com and the script can be either .JS or C# Dont use BOO please , because i never heard or never know what is boo and the programming language thanks for looking this question because i really need it for my game...
Comment
Best Answer
Answer by Thecle · Jan 06, 2013 at 10:10 AM
Hello,
Use : Application.OpenURL ("http://yourwebsite.com");
or Application.OpenURL ("market://details?id=");