refactor(heroList): 替换卡牌选中高亮方式为显隐标记

1.  重构英雄列表卡牌选中逻辑,移除缩放高亮,改用active子节点显隐标记选中状态
2.  重构CardLiteComp,新增setSelected方法统一处理选中态
3.  调整卡牌预制体尺寸与布局,新增选中标记节点
4.  优化英雄图标加载逻辑,改为静态首帧展示而非播放动画
5.  调整图集边框配置与精灵帧引用
This commit is contained in:
panFD
2026-08-23 23:40:54 +08:00
parent b3781f550d
commit bef521683c
9 changed files with 3414 additions and 4487 deletions

View File

@@ -2462,10 +2462,10 @@
"height": 108,
"rawWidth": 108,
"rawHeight": 108,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"borderTop": 54,
"borderBottom": 54,
"borderLeft": 54,
"borderRight": 54,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,