Declaration
func SetWidgetParent(parent CustomUIOrWidget, child entity<UIWidget>)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Parent | HudWidgetOrCustomHud | Parent node, you can specify UI widget or custom UI |
| Child | HudWidget | Child Node |
Set the parent node of the UI widget
func SetWidgetParent(parent CustomUIOrWidget, child entity<UIWidget>)
go
| Name | Type | Description |
|---|---|---|
| Parent | HudWidgetOrCustomHud | Parent node, you can specify UI widget or custom UI |
| Child | HudWidget | Child Node |