public void RespawnPlayer() { pc.isDead = false; Cursor.visible = false; Cursor.lockState = CursorLockMode.Locked; gameOver.SetActive(false); pc.RespawnPlayer(); }