Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AGameStateBase > GetDefaultGameMode
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/GameStateBase.h |
Include | #include "GameFramework/GameStateBase.h" |
Source | /Engine/Source/Runtime/Engine/Private/GameStateBase.cpp |
const AGameModeBase &42; GetDefaultGameMode&40;&41; const
Remarks
Helper to return the default object of the GameModeBase class corresponding to this GameState. This object is not safe to modify.