Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UGameInstance
Description
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)
| Name | PostCreateGameModeForPIE |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/GameInstance.h |
| Include Path | #include "Engine/GameInstance.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameInstance.cpp |
virtual FGameInstancePIEResult PostCreateGameModeForPIE
(
const FGameInstancePIEParameters & Params,
AGameModeBase * GameMode
)