Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UWidget
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Gets the game instance associated with this UI. | Components/Widget.h |
|
|
TGameInstance * GetGameInstance () |
Gets the game instance associated with this UI. | Components/Widget.h |
GetGameInstance()
Description
Gets the game instance associated with this UI.
| Name | GetGameInstance |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/Widget.h |
| Include Path | #include "Components/Widget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/Widget.cpp |
UFUNCTION (BlueprintCallable, BlueprintCosmetic, Category="Widget")
UGameInstance * GetGameInstance() const
a pointer to the owning game instance
GetGameInstance()
Description
Gets the game instance associated with this UI.
| Name | GetGameInstance |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/Widget.h |
| Include Path | #include "Components/Widget.h" |
template<class TGameInstance>
TGameInstance * GetGameInstance() const
a pointer to the owning game instance