HandleUtility.RaySnap

static function RaySnap (ray : Ray) : object

Returns

object - A boxed RaycastHit, null if nothing hit it.

Description

Casts ray against the scene.