APawn::SetPlayerState

Set the Pawn's Player State.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h

Include

#include "GameFramework/Pawn.h"

Source

/Engine/Source/Runtime/Engine/Private/Pawn.cpp

Syntax

void SetPlayerState
(
    APlayerState * NewPlayerState
)

Remarks

Set the Pawn's Player State. Keeps bi-directional reference of Pawn to Player State and back in sync.

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