UWorld::GetGameState

Returns the current GameState instance cast to the template type.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Syntax

template<class T>
T * GetGameState() const

Remarks

Returns the current GameState instance cast to the template type.