◆ PathReturnQueue()
◆ Enqueue()
void Enqueue |
( |
Path |
path | ) |
|
◆ ReturnPaths()
void ReturnPaths |
( |
bool |
timeSlice | ) |
|
Returns all paths in the return stack.
Paths which have been processed are put in the return stack. This function will pop all items from the stack and return them to e.g the Seeker requesting them.
- Parameters
-
timeSlice | Do not return all paths at once if it takes a long time, instead return some and wait until the next call. |
◆ pathReturnQueue
Queue<Path> pathReturnQueue = new Queue<Path>() |
|
private |
Holds all paths which are waiting to be flagged as completed.
- See also
- ReturnPaths
◆ pathsClaimedSilentlyBy
System.Object pathsClaimedSilentlyBy |
|
private |
Paths are claimed silently by some object to prevent them from being recycled while still in use.
This will be set to the AstarPath object.
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Core/Misc/PathReturnQueue.cs