예제 #1
0
 public RaycastHit2D CastCapsule(Vector2 origin, Vector2 size, CapsuleDirection2D capsuleDirection, float angle, Vector2 direction, float distance, int layerMask = Physics2D.DefaultRaycastLayers)
 {
     return(_world.CapsuleCast(origin, size, capsuleDirection, angle, direction, distance, layerMask));
 }