void Update() { if (gameOverPlay == true) { if (Input.GetButton("Jump")) { //Application.LoadLevel ("Main"); levelLogic.LoadCurrentLevel(); } } if (Input.GetKey("escape")) { Application.Quit(); } }