Example #1
0
 public RaycastHit2D CastBox(Vector2 origin, Vector2 size, float angle, Vector2 direction, float distance, int layerMask = Physics2D.DefaultRaycastLayers)
 {
     return(_world.BoxCast(origin, size, angle, direction, distance, layerMask));
 }