BoxcastCommand Constructor
public BoxcastCommand(Vector3 center,
Vector3 halfExtents,
Quaternion orientation,
Vector3 direction,
float distance,
int layerMask);
Parameters
| center | Center of the box. | |
| halfExtend | Half the size of the box in each dimension. | |
| orientation | Rotation of the box. | |
| direction | The direction in which to sweep the box. | |
| distance | The maximum length of the cast. | |
| layerMask | A Layer mask that is used to selectively ignore colliders when casting a box. |
Description 描述
Creates a BoxcastCommand.