Function AstarPath.Linecast

Linecast (Vector3 start, Vector3 end)

True if there is an obstacle between start and end on the navmesh.

Public
Linecast (Vector3 start, Vector3 end, outGraphHitInfo hit)

True if there is an obstacle between start and end on the navmesh.

Public