Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UWorld
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * GetGameState () |
Returns the current GameState instance cast to the template type. | Engine/World.h | |
| Returns the current GameState instance. | Engine/World.h |
GetGameState()
Description
Returns the current GameState instance cast to the template type.
| Name | GetGameState |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
template<class T>
T * GetGameState() const
GetGameState()
Description
Returns the current GameState instance.
| Name | GetGameState |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
AGameStateBase * GetGameState() const