示例#1
0
 public RaycastHit2D CastCircle(Vector2 origin, float radius, Vector2 direction, float distance, int layerMask = Physics2D.DefaultRaycastLayers)
 {
     return(_world.CircleCast(origin, radius, direction, distance, layerMask));
 }