コード例 #1
0
 public RaycastHit2D CastLine(Vector2 origin, Vector2 direction, float distance, int layerMask = Physics2D.DefaultRaycastLayers)
 {
     return(_world.Raycast(origin, direction, distance, layerMask));
 }