Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APawn
Description
Set the Pawn's Player State. Keeps bi-directional reference of Pawn to Player State and back in sync.
| Name | SetPlayerState |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include Path | #include "GameFramework/Pawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Pawn.cpp |
void SetPlayerState
(
APlayerState * NewPlayerState
)