pretty straight forward. Just wondering what the script (preferably JavaScript) would be to make a button that when clicked, exit’s the game would be
string search = "unity quit application";
function Start()
{
Application.OpenURL( "http://www.google.de/search?q=" + search );
}
function OnGUI()
{
if(GUI.Button(Rect(0, 0, 100, 25), "Quit Game"))
{
Application.Quit();
}
}
Hope that is what you needed.