Function GraphModifier.OnGraphsPostUpdateBeforeAreaRecalculation

OnGraphsPostUpdateBeforeAreaRecalculation ()

Called after graphs have been updated.

Public
void OnGraphsPostUpdateBeforeAreaRecalculation ()

Called after graphs have been updated.

This is among other times called after graphs have been scanned, updated using GraphUpdateObjects, navmesh cuts, or GraphUpdateScene components.

Note

Area information (see Pathfinding.HierarchicalGraph) may not be up to date when this event is sent. This means some methods like Pathfinding.PathUtilities.IsPathPossible may return incorrect results. Use OnLatePostScan if you need that info to be up to date.

Use this if you are modifying any graph connections or walkability.