AHUD::OnLostFocusPause

Pauses or unpauses the game due to main window's focus being lost.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/HUD.h"

Source

/Engine/Source/Runtime/Engine/Private/HUD.cpp

Syntax

virtual void OnLostFocusPause
(
    bool bEnable
)

Remarks

Pauses or unpauses the game due to main window's focus being lost.

Parameters

Parameter

Description

Enable

tells whether to enable or disable the pause state

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