Class NavmeshUpdates

Public

Helper for navmesh cut objects.

Responsible for keeping track of which navmesh cuts have moved and coordinating graph updates to account for those changes.

A* Pro Feature

This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited.
The Pro version can be bought here

Inner Types

Stores navmesh cutting related data for a single graph.

Public Methods

Discards all pending updates caused by moved or modified navmesh cuts.

Checks all NavmeshCut instances and updates graphs if needed.

ForceUpdateAround (clipper)

Public Variables

updateInterval

How often to check if an update needs to be done (real seconds between checks).

Public

Private/Protected Members

AddListener (listener)

Called when a NavmeshCut or NavmeshAdd is disabled.

Called when a NavmeshCut or NavmeshAdd is enabled.

RemoveListener (listener)
Update ()

Update is called once per frame.

astar
Internal
lastUpdateTime

Last time navmesh cuts were applied.

Private
listeners
Private