private void OnDestroy() { Camera.main.transform.parent = null; StartCoroutine(playerConnection.Respawn()); }