A* Pathfinding Project  3.8.10
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 tile(s) it is in at start, needs RecastTileUpdateHandler. More...

Detailed Description

Updates the 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.
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: