static public bool IsPotentialConnection(this Pathfinding2D item, Component component1, Component component2) { return(item.IsPotentialConnection(component1.GetPlanarPosition(), component2.GetPlanarPosition())); }
static public bool IsPotentialConnection(this Pathfinding2D item, Vector2 position, Component component) { return(item.IsPotentialConnection(position, component.GetPlanarPosition())); }