Versions with this page:
Versions without this page:
The Collider that was hit.
This property is null if the ray hit nothing and not-null if it hit a Collider.
no example available in C#
See Also: Physics.Raycast, Physics.Linecast, Physics.RaycastAll.