public override bool hit(CombiCollider c, Vector2 p1, Vector2 p2) { foreach (Collider colin in within) { foreach(Collider colen in c.within) { if(colin.hit(c,p1,p2)) return false; } } return false; }
public virtual bool hit(CombiCollider c, Vector2 p1, Vector2 p2) { return c.hit(this, p2, p1); }