// Quits the player when the user hits escape
function Update () {
if (Input.GetKey ("escape")) {
Application.Quit();
}
}
does this script work to start game and Quit ?
↧