Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/UPathFollowingComponent
Description
Called when NavigationSystem registers new navigation data type while this component instance has empty MyNavData. This is usually the case for AI agents hand-placed on levels.
| Name | OnNavDataRegistered |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/Navigation/PathFollowingComponent.h |
| Include Path | #include "Navigation/PathFollowingComponent.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/Navigation/PathFollowingComponent.cpp |
UFUNCTION ()
void OnNavDataRegistered
(
ANavigationData * NavData
)