Function BlockManager.InternalBlock
InternalBlock
(GraphNode node, SingleNodeBlocker blocker)
Register blocker as being present at the specified node.
Public
void InternalBlock (
node | ||
blocker |
Register blocker as being present at the specified node.
Calling this method multiple times will add multiple instances of the blocker to the node.
Note
The node will not be blocked immediately. Instead the pathfinding threads will be paused and then the update will be applied. It is however guaranteed to be applied before the next path request is started.