Version: 2018.4

パラメーター

fromワールド座標でのレイの開始地点
directionレイの方向
distanceThe maximum distance the ray should check for collisions.
layerMaskA LayerMask that is used to selectively ignore Colliders when casting a ray.
maxHitsThe maximum number of Colliders the ray can hit.

説明

Create a RaycastCommand.