装饰(Decoration)用于自定义角色外观或场景背景。分为四种类型:皮肤、背景、表情和交互物。装饰可以加入库存并通过命令启用或禁用。
techName:这个装饰的技术名称
isInitial:是否初始就拥有
isEquipped:是否初始已装备
icon:装饰图标
type:装饰类型(Skin / Background / Emote / InteractItem)
bodyValue:当 type 为 Skin 时的身体皮肤值(默认 “Normal”)
backgroundPrefab:当 type 为 Background 时的背景预制体
emoteAttachment:当 type 为 Emote 时的表情附件名称
interactItem:当 type 为 InteractItem 时关联的交互物
specialEffects:该装饰附带的特殊效果列表
相关SO
InteractItem 可交互物:当 type 为 InteractItem 时引用
SpecialEffect 特殊效果:通过 specialEffects 引用
相关函数
相关命令
AddDecoration:将装饰加入库存
EnableDecoration:启用指定装饰
DisableDecoration:禁用指定装饰