Function AstarPath.PausePathfindingSoon

PausePathfindingSoon ()

Blocks the path queue so that e.g work items can be performed.

Public
PathProcessor.GraphUpdateLock PausePathfindingSoon ()

Blocks the path queue so that e.g work items can be performed.

Pathfinding threads will stop accepting new path requests and will finish the ones they are currently calculating asynchronously. When the lock is released, the pathfinding threads will resume as normal.

Note

You are unlikely to need to use this method. It is primarily for internal use.