AHUD::OnLostFocusPause

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

Choose your operating system:

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