private void OnTriggerExit2D(Collider2D other) { //hace que el jugador pueda rodar ControladorJugador cj = other.GetComponent <ControladorJugador>(); if (cj != null) { cj.CheckDejarRodar(false); cj.PonerDePie(); } }