refactor(heroList): 替换卡牌选中高亮方式为显隐标记
1. 重构英雄列表卡牌选中逻辑,移除缩放高亮,改用active子节点显隐标记选中状态 2. 重构CardLiteComp,新增setSelected方法统一处理选中态 3. 调整卡牌预制体尺寸与布局,新增选中标记节点 4. 优化英雄图标加载逻辑,改为静态首帧展示而非播放动画 5. 调整图集边框配置与精灵帧引用
This commit is contained in:
@@ -3934,10 +3934,10 @@
|
||||
"height": 57,
|
||||
"rawWidth": 90,
|
||||
"rawHeight": 57,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"borderTop": 28.5,
|
||||
"borderBottom": 28.5,
|
||||
"borderLeft": 45,
|
||||
"borderRight": 45,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
|
||||
Reference in New Issue
Block a user