refactor(heroBox): 优化英雄升级弹窗展示与UI边框

1.  移除英雄升级确认弹窗冗余的英雄名称变量拼接
2.  调整UI元素的边框偏移参数
3.  给英雄属性描述文本添加黑色描边优化显示效果
4.  更新了多个英雄预制件的节点ID与属性覆盖配置
This commit is contained in:
panFD
2026-08-10 10:28:39 +08:00
parent 2b3a68fb2a
commit 222dddbb05
6 changed files with 869 additions and 533 deletions

View File

@@ -22,35 +22,35 @@
"__id__": 2
},
{
"__id__": 10
"__id__": 11
},
{
"__id__": 22
"__id__": 23
},
{
"__id__": 34
"__id__": 35
}
],
"_active": true,
"_components": [
{
"__id__": 45
"__id__": 46
},
{
"__id__": 47
"__id__": 48
},
{
"__id__": 49
"__id__": 50
},
{
"__id__": 51
"__id__": 52
},
{
"__id__": 53
"__id__": 54
}
],
"_prefab": {
"__id__": 55
"__id__": 56
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -127,6 +127,9 @@
},
{
"__id__": 9
},
{
"__id__": 10
}
],
"removedComponents": []
@@ -193,6 +196,16 @@
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 6
},
"propertyPath": [
"_active"
],
"value": false
},
{
"__type__": "cc.Node",
"_name": "anm",
@@ -205,23 +218,23 @@
"_active": true,
"_components": [
{
"__id__": 11
"__id__": 12
},
{
"__id__": 13
"__id__": 14
},
{
"__id__": 15
"__id__": 16
},
{
"__id__": 17
"__id__": 18
},
{
"__id__": 19
"__id__": 20
}
],
"_prefab": {
"__id__": 21
"__id__": 22
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -258,11 +271,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 12
"__id__": 13
},
"_contentSize": {
"__type__": "cc.Size",
@@ -286,11 +299,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 14
"__id__": 15
},
"_id": ""
},
@@ -304,11 +317,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 16
"__id__": 17
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -352,11 +365,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 18
"__id__": 19
},
"hitFlashMaterial": {
"__uuid__": "8eee8ab1-fe48-4b22-b956-3f5c18fc4810",
@@ -390,11 +403,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 20
"__id__": 21
},
"playOnLoad": false,
"_clips": [
@@ -446,14 +459,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 23
"__id__": 24
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 22
"__id__": 23
},
"asset": {
"__uuid__": "e1b8a315-ece3-41a2-941e-a66861753f1b",
@@ -461,7 +474,7 @@
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": {
"__id__": 24
"__id__": 25
},
"targetOverrides": null
},
@@ -475,10 +488,7 @@
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 25
},
{
"__id__": 27
"__id__": 26
},
{
"__id__": 28
@@ -493,7 +503,10 @@
"__id__": 31
},
{
"__id__": 33
"__id__": 32
},
{
"__id__": 34
}
],
"removedComponents": []
@@ -501,7 +514,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 26
"__id__": 27
},
"propertyPath": [
"_name"
@@ -517,7 +530,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 26
"__id__": 27
},
"propertyPath": [
"_lpos"
@@ -532,7 +545,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 26
"__id__": 27
},
"propertyPath": [
"_lrot"
@@ -548,7 +561,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 26
"__id__": 27
},
"propertyPath": [
"_euler"
@@ -563,7 +576,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 26
"__id__": 27
},
"propertyPath": [
"_active"
@@ -573,7 +586,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 32
"__id__": 33
},
"propertyPath": [
"_contentSize"
@@ -593,7 +606,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 26
"__id__": 27
},
"propertyPath": [
"_lscale"
@@ -612,14 +625,14 @@
"__id__": 1
},
"_prefab": {
"__id__": 35
"__id__": 36
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 34
"__id__": 35
},
"asset": {
"__uuid__": "50c3d5e4-49f8-4bd7-a15b-cda359a0ae5c",
@@ -627,7 +640,7 @@
},
"fileId": "5fqU0L3/FOhKaco5UkHuWT",
"instance": {
"__id__": 36
"__id__": 37
},
"targetOverrides": null
},
@@ -641,10 +654,7 @@
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 37
},
{
"__id__": 39
"__id__": 38
},
{
"__id__": 40
@@ -656,7 +666,10 @@
"__id__": 42
},
{
"__id__": 44
"__id__": 43
},
{
"__id__": 45
}
],
"removedComponents": []
@@ -664,7 +677,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
"__id__": 39
},
"propertyPath": [
"_name"
@@ -680,7 +693,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
"__id__": 39
},
"propertyPath": [
"_lpos"
@@ -695,7 +708,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
"__id__": 39
},
"propertyPath": [
"_lrot"
@@ -711,7 +724,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
"__id__": 39
},
"propertyPath": [
"_euler"
@@ -726,7 +739,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 43
"__id__": 44
},
"propertyPath": [
"_lpos"
@@ -747,7 +760,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
"__id__": 39
},
"propertyPath": [
"_lscale"
@@ -769,7 +782,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 46
"__id__": 47
},
"_contentSize": {
"__type__": "cc.Size",
@@ -797,10 +810,10 @@
},
"_enabled": true,
"__prefab": {
"__id__": 48
"__id__": 49
},
"anm": {
"__id__": 13
"__id__": 14
},
"_id": ""
},
@@ -818,7 +831,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 50
"__id__": 51
},
"debugMode": false,
"_id": ""
@@ -837,7 +850,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 52
"__id__": 53
},
"enabledContactListener": true,
"bullet": false,
@@ -871,7 +884,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 54
"__id__": 55
},
"tag": 0,
"_group": 4,
@@ -908,10 +921,10 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 34
"__id__": 35
},
{
"__id__": 22
"__id__": 23
},
{
"__id__": 2