Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerState
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerState.h |
| Include | #include "GameFramework/PlayerState.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PlayerState.cpp |
void SetIsOnlyASpectator
(
const bool bNewSpectator
)
Remarks
Sets the value of bOnlySpectator without causing other side effects to this instance.