Updates the recast tile(s) it is in at start, needs RecastTileUpdateHandler.
More...
Updates the recast tile(s) it is in at start, needs RecastTileUpdateHandler.
If there is a collider attached to the same GameObject, the bounds of that collider will be used for updating, otherwise only the position of the object will be used.
- Note
- This class needs a RecastTileUpdateHandler somewhere in the scene. See the documentation for that class, it contains more information.
-
This does not use navmesh cutting. If you only ever add obstacles, but never add any new walkable surfaces then you might want to use navmesh cutting instead. See Navmesh Cutting.
- See also
- RecastTileUpdateHandler
◆ OnDestroy()
◆ ScheduleUpdate()
Schedule a tile update for all tiles that contain this object.
◆ Start()
◆ OnNeedUpdates
System.Action<Bounds> OnNeedUpdates |
|
static |
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/ExampleScenes/ExampleScripts/RecastTileUpdate.cs