RaycastHit.Collider

The Collider that was hit.

RaycastHit.Collider

Property Name Description
Raycast Hit RaycastHit
Collider Output the hit Collider