RaycastHit2D.Collider

The Collider2D that was hit.

RaycastHit2D.Collider

Properties

Property Name Description
Raycast Hit 2D RaycastHit
Collider Output the hit Collider