Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Quits the player when the user hits escape
- function Update () {
- if (Input.GetKey ("escape")) {
- Application.Quit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement