Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/UPathFollowingComponent
Description
Called if owning Controller possesses new pawn or ends up pawn-less. Doesn't get called if owner is not an AContoller
| Name | OnNewPawn |
| 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 |
virtual void OnNewPawn
(
APawn * NewPawn
)