Function Seeker.IsDone

IsDone ()

Is the current path done calculating.

Public
bool IsDone ()

Is the current path done calculating.

Returns true if the current path has been returned or if the path is null.

Note

Do not confuse this with Pathfinding.Path.IsDone. They usually return the same value, but not always. The path might be completely calculated, but has not yet been processed by the Seeker.

Inside the OnPathComplete callback this method will return true.

Version

Before version 4.2.13 this would return false inside the OnPathComplete callback. However, this behaviour was unintuitive.