struct in UnityEngineマニュアルに切り替える
2D 物理挙動の Raycast により検知されたオブジェクトについて返される情報
A raycast is used to detect objects that lie along the path of a ray and is conceptually like firing a laser beam into the Scene and observing which objects are hit by it. The RaycastHit2D class is used by Physics2D.Raycast and other functions to return information about the objects detected by raycasts.
関連項目: Physics2D.Raycast、Ray2D クラス .