refactor(hero desc): 调整技能描述渲染逻辑,适配不同场景显示需求

1. 新增showName参数控制技能名称是否展示,区分英雄弹窗和卡池场景
2. 修正英雄预制体中角色的Y轴偏移量
3. 同步更新函数注释和调用传参
This commit is contained in:
pan
2026-08-12 09:39:24 +08:00
parent ae6c69e4f3
commit 1609d3971a
3 changed files with 12 additions and 9 deletions

View File

@@ -4746,7 +4746,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 22.263000000000016,
"y": 14.014,
"z": 0
},
"_lrot": {