center | 盒体的中心。 |
halfExtend | 盒体各个维度大小的一半。 |
orientation | 盒体的旋转。 |
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. |
Creates a BoxcastCommand.