UWorld::GetGameInstanceChecked

Returns the OwningGameInstance cast to the template type, asserting that it is of the correct type.

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 * GetGameInstanceChecked() const

Remarks

Returns the OwningGameInstance cast to the template type, asserting that it is of the correct 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