http://docs.unity3d.com/ScriptReference/GUI.Button.html
http://docs.unity3d.com/ScriptReference/Application.Quit.html
if (GUI.Button (new Rect (10, 50, 100, 40), "Quit")) {
Application.Quit ();
}
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
http://docs.unity3d.com/ScriptReference/GUI.Button.html
http://docs.unity3d.com/ScriptReference/Application.Quit.html
if (GUI.Button (new Rect (10, 50, 100, 40), "Quit")) {
Application.Quit ();
}
Register as a new user and use Qiita more conveniently
Go to list of users who liked