void Update() { if (Input.GetKeyDown(KeyCode.Escape)) { Application.Quit(); } if (useAnyKey && Input.anyKeyDown) Load(Application.loadedLevel+1); }