Exemplo n.º 1
0
 public override bool CollidesWithLine(Vector2 start, Vector2 end, out RaycastHit hit)
 {
     hit = new RaycastHit();
     return(ShapeCollisions.LineToPoly(start, end, this, out hit));
 }