Advertisement
Guest User

Application.Quit

a guest
Oct 25th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Quits the player when the user hits escape
  2.     function Update () {
  3.         if (Input.GetKey ("escape")) {
  4.             Application.Quit();
  5.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement