refactor(hero): 优化英雄描述文本展示逻辑与UI布局
1. 重构英雄组件富文本生成逻辑,直接使用配置表手写文案替代动态生成 2. 更新英雄配置表中的技能描述文本,优化表述更贴合实际效果 3. 调整任务面板和英雄预制体的UI位置与尺寸,适配新的展示内容 4. 移除冗余的空引用属性,新增刷新石数量显示节点
This commit is contained in:
@@ -219,7 +219,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 230,
|
||||
"height": 300
|
||||
"height": 320
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -239,7 +239,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 230,
|
||||
"height": 300
|
||||
"height": 320
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -259,7 +259,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 460,
|
||||
"height": 600
|
||||
"height": 640
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -279,7 +279,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 428,
|
||||
"height": 568
|
||||
"height": 608
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -344,7 +344,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 122.888,
|
||||
"y": 132.888,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -1059,7 +1059,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 58.485,
|
||||
"y": 68.485,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -2727,7 +2727,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": -112,
|
||||
"y": -122,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -3035,7 +3035,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 190,
|
||||
"height": 26.46
|
||||
"height": 23.94
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -3060,11 +3060,11 @@
|
||||
"__prefab": {
|
||||
"__id__": 195
|
||||
},
|
||||
"_lineHeight": 21,
|
||||
"_lineHeight": 19,
|
||||
"_string": "<color=#00ff00>Rich</color><color=#0fffff>Text</color>",
|
||||
"_horizontalAlign": 0,
|
||||
"_verticalAlign": 0,
|
||||
"_fontSize": 20,
|
||||
"_fontSize": 18,
|
||||
"_fontColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 32,
|
||||
@@ -3114,7 +3114,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 230,
|
||||
"height": 300
|
||||
"height": 320
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
||||
@@ -6064,7 +6064,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": -71.13500000000002,
|
||||
"y": -81.21500000000002,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -6517,7 +6517,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": -71.13500000000002,
|
||||
"y": -81.21500000000002,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -6970,7 +6970,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": -71.13500000000002,
|
||||
"y": -81.21500000000002,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -16119,7 +16119,6 @@
|
||||
"__prefab": {
|
||||
"__id__": 1006
|
||||
},
|
||||
"showCards": null,
|
||||
"cardPanNode": {
|
||||
"__id__": 447
|
||||
},
|
||||
@@ -16145,7 +16144,6 @@
|
||||
"herosBoxNode": {
|
||||
"__id__": 325
|
||||
},
|
||||
"heroPrefab": null,
|
||||
"showEquips": {
|
||||
"__id__": 786
|
||||
},
|
||||
@@ -16203,6 +16201,9 @@
|
||||
"hero_num_node": {
|
||||
"__id__": 243
|
||||
},
|
||||
"refresh_stone_num_node": {
|
||||
"__id__": 207
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user