APlayerController::SetPause

Locally try to pause game (call serverpause to pause network game); returns success indicator.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/PlayerController.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerController.cpp

Syntax

virtual bool SetPause
(
    bool bPause,
    FCanUnpause CanUnpauseDelegate
)

Remarks

Locally try to pause game (call serverpause to pause network game); returns success indicator. Calls GameModeBase's SetPause().

Returns

true if succeeded to pause

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