BoxcastCommandConstructor

Switch to Manual
public BoxcastCommand (Vector3 center, Vector3 halfExtents, Quaternion orientation, Vector3 direction, float distance, int layerMask);

Parameters

center盒体的中心。
halfExtend盒体各个维度大小的一半。
orientation盒体的旋转。
directionThe direction in which to sweep the box.
distanceThe maximum length of the cast.
layerMaskA Layer mask that is used to selectively ignore colliders when casting a box.

Description

Creates a BoxcastCommand.