AActor::GetGameInstance

Gets the GameInstance that ultimately contains this actor cast to the template type.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/Actor.h"

Syntax

template<class T>
T * GetGameInstance() const

Remarks

Gets the GameInstance that ultimately contains this actor cast to the template type. May return NULL if the cast fails.

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