Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AGameModeBase
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h |
Include | #include "GameFramework/GameModeBase.h" |
Source | /Engine/Source/Runtime/Engine/Private/GameModeBase.cpp |
void ForceClearUnpauseDelegates
&40;
AActor &42; PauseActor
&41;
Remarks
Forcibly removes an object's CanUnpause delegates from the list of pausers. If any of the object's CanUnpause delegate handlers were in the list, triggers a call to ClearPause().
Called when the player controller is being destroyed to prevent the game from being stuck in a paused state when a PC that paused the game is destroyed before the game is unpaused.