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

DiscardPending ()

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

Public
ForceUpdate ()

Checks all NavmeshCut instances and updates graphs if needed.

Public
ForceUpdateAround (clipper)
Public

Public Variables

updateInterval

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

Public

Private/Protected Members

HandleOnDisableCallback (obj)

Called when a NavmeshCut or NavmeshAdd is disabled.

Private
HandleOnEnableCallback (obj)

Called when a NavmeshCut or NavmeshAdd is enabled.

Private
OnDisable ()
Internal
OnEnable ()
Internal
Update ()

Update is called once per frame.

Internal
astar
Internal
lastUpdateTime

Last time navmesh cuts were applied.

Private