AActor::GetGameInstance

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.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h