A* Pathfinding Project  4.0.8
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
RecastTileUpdate Class Reference

Updates the recast tile(s) it is in at start, needs RecastTileUpdateHandler. More...

Detailed Description

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

Public Member Functions

void ScheduleUpdate ()
 Schedule a tile update for all tiles that contain this object.
 

Events

static System.Action< Bounds > OnNeedUpdates
 

Private Member Functions

void OnDestroy ()
 
void Start ()
 

Member Function Documentation

void OnDestroy ( )
private
void ScheduleUpdate ( )

Schedule a tile update for all tiles that contain this object.

void Start ( )
private

Event Documentation

System.Action<Bounds> OnNeedUpdates
static

The documentation for this class was generated from the following file: