Function ABPath.Construct

Construct (Vector3 start, Vector3 end, OnPathDelegate callback=null)

Construct a path with a start and end point.

Public Static
ABPath Construct (

Vector3

start

Vector3

end

OnPathDelegate

callback=null

)

Construct a path with a start and end point.

The delegate will be called when the path has been calculated. Do not confuse it with the Seeker callback as they are sent at different times. If you are using a Seeker to start the path you can set callback to null.

Return

The constructed path object