Function AIPath.OnPathComplete

OnPathComplete (Path newPath)

Called when a requested path has been calculated.

Protected
void OnPathComplete (

Path

newPath

)

Called when a requested path has been calculated.

A path is first requested by SearchPath, it is then calculated, probably in the same or the next frame. Finally it is returned to the seeker which forwards it to this function.