UGameInstance::PostCreateGameModeForPIE

Called as soon as the game mode is spawned, to allow additional PIE setting validation prior to creating the local players / etc...

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameInstance.h

Include

#include "Engine/GameInstance.h"

Source

/Engine/Source/Runtime/Engine/Private/GameInstance.cpp

Syntax

virtual FGameInstancePIEResult PostCreateGameModeForPIE
(
    const FGameInstancePIEParameters & Params,
    AGameModeBase * GameMode
)

Remarks

Called as soon as the game mode is spawned, to allow additional PIE setting validation prior to creating the local players / etc... (called on pure clients too, in which case the game mode is nullptr)

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