Manager for blocker scripts such as SingleNodeBlocker.
More...
Manager for blocker scripts such as SingleNodeBlocker.
This is part of the turn based utilities. It can be used for any game, but it is primarily intended for turn based games.
- See Also
- TurnBasedAI
-
Utilities for turn-based games
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.
Remove blocker from the specified node.
Will only remove a single instance, calling this method multiple times will remove multiple instances of the blocker from the node.
- Note
- The node will not be unblocked 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.
True if the node contains any blocker which is not included in the selector list.
True if the node contains any blocker which is included in the selector list.
The documentation for this class was generated from the following file:
- /Users/arong/unity/a-pathfinding-project/Assets/AstarPathfindingProject/TurnBased/BlockManager.cs