public static lineToPoly ( |
||
start | ||
end | ||
polygon | ||
hit | RaycastHit | |
return | bool |
public override bool collidesWithLine(Vector2 start, Vector2 end, out RaycastHit hit) { hit = new RaycastHit(); return(ShapeCollisions.lineToPoly(start, end, this, out hit)); }