AGameStateBase::GetDefaultGameMode

Helper to return the default object of the GameModeBase class corresponding to this GameState.

Windows
MacOS
Linux

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

Syntax

const AGameModeBase * GetDefaultGameMode() const

Remarks

Helper to return the default object of the GameModeBase class corresponding to this GameState. This object is not safe to modify.

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