Class GraphModifier Extends VersionedMonoBehaviour
GraphModifier is used for modifying graphs or processing graph data based on events.
This class is a simple container for a number of events.
Some events will be called both in play mode and in editor mode (at least the scan events). So make sure your code handles both cases well. You may choose to ignore editor events.
Application.IsPlaying
Events may be received before Awake and OnEnable has been called on the component. This is because graphs are typically scanned during Awake on the AstarPath component, which may happen before Awake on the graph modifier itself.
Public Methods
Called after graphs have been updated using GraphUpdateObjects or navmesh cutting.
Public Static Methods
Public Enums
Private/Protected Members
All active graph modifiers.
Unique persistent ID for this component, used for serialization.
Maps persistent IDs to the component that uses it.