public void Update() { if (deathLevel > player.position.y) { levelEnd.Show(() => SceneManager.LoadScene(SceneManager.GetActiveScene().name), "Fall to your death...\nRestart?"); } }