이 페이지가 있는 버전:
이 페이지가 없는 버전:
object A boxed RaycastHit, null if nothing hit it.
Casts ray against the Scene and reports whether an object lies in its path.
ray
The ray only returns intersections with GameObjects that have a collider component attached to them.