包含此页的版本:
不含此页的版本:
object 装箱 RaycastHit;如果未命中,则为 null。
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.