Funzione
Moderato
Widget:SetContentForSlot
Sets the widget for a given <a href='https://docs.unrealengine.com/5.0/en-US/using-named-slots-in-umg-for-unreal-engine/'>slot</a> by name, if this is a <a href='https://docs.unrealengine.com/5.1/en-US/API/Runtime/UMG/Blueprint/UUserWidget/'>UserWidget</a>
Non ancora tradotto
Sintassi
my_widget:SetContentForSlot(slot_name, widget = nil)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
slot_name
|
string | — | — |
widget
facoltativo
|
Widget | nil |
Pass nil to remove it |