AGameModeBase::InitGameState

Initialize the GameState actor with default settings called during [PreInitializeComponents()](API\Runtime\Engine\GameFramework\AGameModeBase\PreInitializeComponents) of the GameMode after a GameState has been spawned as well as during [Reset()](API\Runtime\Engine\GameFramework\AGameModeBase\Reset)

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/GameModeBase.h"

Source

/Engine/Source/Runtime/Engine/Private/GameModeBase.cpp

Syntax

virtual void InitGameState()

Remarks

Initialize the GameState actor with default settings called during PreInitializeComponents() of the GameMode after a GameState has been spawned as well as during Reset()

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