Version: 2019.3

BoxcastCommandConstructor

マニュアルに切り替える
public BoxcastCommand (Vector3 center, Vector3 halfExtents, Quaternion orientation, Vector3 direction, float distance, int layerMask);

パラメーター

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.

説明

Creates a BoxcastCommand.