public void RpcDealDamage() { //NetworkServer.Destroy(gameObject); playerMng.peoples--; if (playerMng.match && playerMng.peoples == 1) { //Cambiodeescena. winner.RpcWin(type); } }