public virtual void OnTriggerExit2D(Collider2D o) { HitBox h = o.GetComponent<HitBox>(); if (h && h.type == HitBoxType.EnterAreas) { DisableLadder(h.owner.GetComponent<Character>()); } }