feat(ui/hero): 重构英雄属性显示逻辑,拆分总值与附加值
1. 新增12组战斗属性标签控件,分别对应攻击、生命、暴击等全量属性 2. 重构属性设置方法,将单一的AP/HP显示拆分为通用的总值+附加值显示逻辑 3. 优化空槽位时的属性标签清空逻辑,统一调用工具方法处理 4. 移除预制体中原有的精灵帧引用,替换为无图片的空状态
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -2946,10 +2946,7 @@
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@fcdc9",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_spriteFrame": null,
|
||||
"_type": 1,
|
||||
"_fillType": 0,
|
||||
"_sizeMode": 0,
|
||||
|
||||
Reference in New Issue
Block a user