AGameModeBase::GetGameState

Helper template to returns the current GameState casted to the desired type.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/GameModeBase.h"

Syntax

template<class T>
T * GetGameState() const

Remarks

Helper template to returns the current GameState casted to the desired type.

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