refactor(map,gui): 重构卡牌和英雄信息弹窗逻辑,新增静态预览模式

1.  移除卡牌的长按放大逻辑,改为长按直接打开英雄静态预览面板
2.  重构HInfoComp,新增静态预览模式支持,无需绑定实体数据
3.  调整card和hnode预制体的缩放参数
4.  简化卡牌UI的尺寸和位置计算逻辑,移除放大状态的额外处理
This commit is contained in:
panw
2026-05-25 15:47:54 +08:00
parent 124a48613e
commit 4d2e42953b
4 changed files with 126 additions and 165 deletions

View File

@@ -2003,8 +2003,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"x": -1.5,
"y": 1.5,
"z": 1
},
"_mobility": 0,

View File

@@ -2521,8 +2521,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"x": -1.5,
"y": 1.5,
"z": 1
},
"_mobility": 0,