Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UUserWidget
Description
Called when a widget is no longer referenced causing the slate resource to destroyed. Just like Construct this event can be called multiple times.
| Name | Destruct |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include Path | #include "Blueprint/UserWidget.h" |
UFUNCTION (BlueprintImplementableEvent, BlueprintCosmetic, Category="User Interface",
Meta=(Keywords="End Play, Destroy"))
void Destruct()