Crear UI personalizada

HUD
Lado del servidor
Solo en PC

Create custom UI

Declaración

func CreateCustomUI(out var createdEntity entity<CustomUI>, owner entity<Player>, uIAssetID CustomUIAssetID)
go

Parámetros

Entrada

Nombre Tipo Descripción
Propietario Player The player entity it belongs to, only visible to the player.
ID de recurso de la IU CustomHudAssetID The custom UI asset ID

Afuera

Nombre Tipo Descripción
Entidad Creada 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.