創建自定義UI

HUD 介面
伺服器端
可在 Mobile 端和 PC 端使用

建立自訂UI,只有指定的玩家可以看到該UI

聲明

func CreateCustomUI(out var createdEntity entity<CustomUI>, owner entity<Player>, uIID CustomUIID)
go

參數

輸入

名稱 類型 描述
所屬者 Player UI所屬的玩家實體,只有該玩家可見
HUD 唯一索引 CustomHudID 自訂UI索引

輸出

名稱 類型 描述
創建的實體 CustomHud 建立出的自訂UI實體