void Muerte() { estaMuerto = true; playerMov.enabled = false; playersAlive.DecreseCount(); Destroy(gameObject); }
void Muerte() { animator.SetBool("IsDead", true); estaMuerto = true; //StartCoroutine("Respawn"); playerMov.enabled = false; playersAlive.DecreseCount(); Destroy(gameObject, 6.0f); }