Declaration
func CreateCustomUI(out var createdEntity entity<CustomUI>, owner entity<Player>, uIAssetID CustomUIAssetID)
go
Parameters
Input
Name | Type | Description |
---|---|---|
Owner | Player | The player entity it belongs to, only visible to the player. |
UI Asset ID | CustomHudAssetID | The custom UI asset ID |
Out
Name | Type | Description |
---|---|---|
Created Entity | CustomHud | The code is used as the parameter name for creating a UI entity, and its corresponding local variable value represents the created UI entity. |