Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AGameMode
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/GameMode.h |
Include | #include "GameFramework/GameMode.h" |
Source | /Engine/Source/Runtime/Engine/Private/GameMode.cpp |
void PlayerSwitchedToSpectatorOnly
&40;
APlayerController &42; PC
&41;
Remarks
Will remove the controller from the correct count then add them to the spectator count.