refactor(ChipComp): 优化英雄图鉴卡图标渲染逻辑
1. 移除动画播放逻辑,改为加载英雄 idle 动画首帧静态展示,降低运行时开销 2. 调整注释与变量命名,统一代码表述风格 3. 修复异步加载竞态保护逻辑 4. 同时删除了冗余的 buff_bg 预制体文件,更新了 maxw/maxb/maxr 预制体的位置与缩放参数,调整了 clips 预制体的显示属性与贴图 fix: 修复部分UI元素的显示异常问题
This commit is contained in:
@@ -497,7 +497,7 @@
|
||||
"__id__": 2
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 20
|
||||
@@ -555,8 +555,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 114.28571428571429,
|
||||
"height": 114.28571428571429
|
||||
"width": 140,
|
||||
"height": 140
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -586,13 +586,13 @@
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"r": 211,
|
||||
"g": 30,
|
||||
"b": 30,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@36a81",
|
||||
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@b36c4",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 1,
|
||||
|
||||
Reference in New Issue
Block a user