refactor(ChipComp): 优化英雄图鉴卡图标渲染逻辑

1. 移除动画播放逻辑,改为加载英雄 idle 动画首帧静态展示,降低运行时开销
2. 调整注释与变量命名,统一代码表述风格
3. 修复异步加载竞态保护逻辑
4. 同时删除了冗余的 buff_bg 预制体文件,更新了 maxw/maxb/maxr 预制体的位置与缩放参数,调整了 clips 预制体的显示属性与贴图

fix: 修复部分UI元素的显示异常问题
This commit is contained in:
pan
2026-09-01 10:41:36 +08:00
parent f40ff033c2
commit 4ad8b2e0b6
8 changed files with 52 additions and 342 deletions

View File

@@ -163,13 +163,10 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@ce362",
"__expectedType__": "cc.SpriteFrame"
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 1,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,