Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UUserWidget
Description
Called once only at game time on non-template instances. While Construct/Destruct pertain to the underlying Slate, this is called only once for the UUserWidget. If you have one-time things to establish up-front (like binding callbacks to events on BindWidget properties), do so here.
| Name | OnInitialized |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include Path | #include "Blueprint/UserWidget.h" |
UFUNCTION (BlueprintImplementableEvent, BlueprintCosmetic, Category="User Interface")
void OnInitialized()