void Update() { if (levelCompletePlay == true) { if (Input.GetButton("Jump")) { //Application.LoadLevel ("Main"); levelLogic.LoadNextLevel(); } } }