UPathFollowingComponent::OnNewPawn

Called if owning Controller possesses new pawn or ends up pawn-less.

Windows
MacOS
Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/Navigation/PathFollowingComponent.h

Include

#include "Navigation/PathFollowingComponent.h"

Source

/Engine/Source/Runtime/AIModule/Private/Navigation/PathFollowingComponent.cpp

Syntax

virtual void OnNewPawn
(
    APawn * NewPawn
)

Remarks

Called if owning Controller possesses new pawn or ends up pawn-less. Doesn't get called if owner is not an AContoller

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss