private void CheckKeys() { //if they hit escape load the previous scene if (Input.GetKeyDown("escape")) { //Quit to main menu immediately MainMenuSelect(); } }