public static pointToBox ( |
||
point | ||
box | ||
result | CollisionResult | |
Результат | bool |
public override bool pointCollidesWithShape(Vector2 point, out CollisionResult result) { if (isUnrotated) { return(ShapeCollisions.pointToBox(point, this, out result)); } return(base.pointCollidesWithShape(point, out result)); }