Navigation
Unreal Engine C++ API Reference > 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
&40;
const bool bNewSpectator
&41;
Remarks
Sets the value of bOnlySpectator without causing other side effects to this instance.