Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AActor
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Gets the GameInstance that ultimately contains this actor. | GameFramework/Actor.h | ||
T * GetGameInstance () |
Gets the GameInstance that ultimately contains this actor cast to the template type. | GameFramework/Actor.h |
GetGameInstance()
Description
Gets the GameInstance that ultimately contains this actor.
| Name | GetGameInstance |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Actor.cpp |
UGameInstance * GetGameInstance() const
GetGameInstance()
Description
Gets the GameInstance that ultimately contains this actor cast to the template type. May return NULL if the cast fails.
| Name | GetGameInstance |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
template<class T>
T * GetGameInstance() const