RaycastHit2D.Collider

The Collider2D that was hit.

RaycastHit2D.Collider

Properties

Property NameDescription
Raycast Hit 2D RaycastHit
Collider Output the hit Collider