A* Pathfinding Project  4.1.12
The A* Pathfinding Project for Unity 3D
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. More...
 

Events

static System.Action< Bounds > OnNeedUpdates
 

Private Member Functions

void OnDestroy ()
 
void Start ()
 

Member Function Documentation

◆ OnDestroy()

void OnDestroy ( )
private

◆ ScheduleUpdate()

void ScheduleUpdate ( )

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

◆ Start()

void Start ( )
private

Event Documentation

◆ OnNeedUpdates

System.Action<Bounds> OnNeedUpdates
static

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