public void NextLevel() { nextLevel.SetActive(false); pc.isDead = false; Cursor.visible = false; Cursor.lockState = CursorLockMode.Locked; pc.LoadNextLevel(); }