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