A* Pathfinding Project
4.1.5
The A* Pathfinding Project for Unity 3D
|
Prevents pathfinding from running while held. More...
Prevents pathfinding from running while held.
Public Member Functions | |
GraphUpdateLock (PathProcessor pathProcessor, bool block) | |
void | Release () |
Allow pathfinding to start running again if no other locks are still held. | |
Public Attributes | |
int | id |
PathProcessor | pathProcessor |
Properties | |
bool | Held [get] |
True while this lock is preventing the pathfinding threads from processing more paths. | |
GraphUpdateLock | ( | PathProcessor | pathProcessor, |
bool | block | ||
) |
void Release | ( | ) |
Allow pathfinding to start running again if no other locks are still held.
int id |
PathProcessor pathProcessor |
|
get |
True while this lock is preventing the pathfinding threads from processing more paths.
Note that the pathfinding threads may not be paused yet (if this lock was obtained using PausePathfinding(false)).