fix(hero prefab): 调整多个英雄预制体的尺寸与偏移参数

统一修正多个英雄prefab的_contentSize、_offset、_size属性数值,同时修复top.prefab的布局尺寸与空引用问题,优化英雄UI显示适配
This commit is contained in:
panFD
2026-08-15 13:15:15 +08:00
parent fad85b96e5
commit 8e5c0d3852
18 changed files with 73 additions and 73 deletions

View File

@@ -790,7 +790,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -898,12 +898,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 30
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 60
},
"_id": ""
},

View File

@@ -787,7 +787,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -895,12 +895,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 30
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 60
},
"_id": ""
},

View File

@@ -793,7 +793,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -901,12 +901,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 30
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 60
},
"_id": ""
},

View File

@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 6
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 30
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 60
},
"_id": ""
},

View File

@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 30
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 60
},
"_id": ""
},

View File

@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 30
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 60
},
"_id": ""
},

View File

@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 75
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 37.5
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 75
},
"_id": ""
},

View File

@@ -691,7 +691,7 @@
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 80,
"y": 85.224,
"z": 0
}
},
@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 75
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 37.5
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 75
},
"_id": ""
},

View File

@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 70
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 35
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 70
},
"_id": ""
},

View File

@@ -814,7 +814,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 65
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -922,12 +922,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 30
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 60
},
"_id": ""
},

View File

@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 65
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 32.5
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 65
},
"_id": ""
},

View File

@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 65
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 30
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 60
},
"_id": ""
},

View File

@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 75
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 35
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 70
},
"_id": ""
},

View File

@@ -691,7 +691,7 @@
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 80,
"y": 96.521,
"z": 0
}
},
@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 40
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 80
},
"_id": ""
},

View File

@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 65
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 30
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 6
},
"_id": ""
},

View File

@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 70
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 35
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 70
},
"_id": ""
},

View File

@@ -691,7 +691,7 @@
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 80,
"y": 93.344,
"z": 0
}
},
@@ -777,7 +777,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"height": 75
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -885,12 +885,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 50
"y": 35
},
"_size": {
"__type__": "cc.Size",
"width": 30,
"height": 100
"height": 70
},
"_id": ""
},

View File

@@ -290,7 +290,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -20,
"x": -22.5,
"y": 0,
"z": 0
},
@@ -331,7 +331,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"width": 45,
"height": 5
},
"_anchorPoint": {
@@ -509,7 +509,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 140,
"width": 156.66666666666669,
"height": 23.333333333333336
},
"_anchorPoint": {
@@ -634,7 +634,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"width": 45,
"height": 5
},
"_anchorPoint": {
@@ -820,7 +820,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -20,
"x": -22.5,
"y": 0,
"z": 0
},
@@ -861,8 +861,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 9
"width": 45,
"height": 8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1039,8 +1039,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 140,
"height": 36.66666666666667
"width": 156.66666666666669,
"height": 33.333333333333336
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1164,8 +1164,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 9
"width": 45,
"height": 8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1350,7 +1350,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -20,
"x": -22.5,
"y": 0,
"z": 0
},
@@ -1391,8 +1391,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 9
"width": 45,
"height": 8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1694,8 +1694,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 9
"width": 45,
"height": 8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -2523,7 +2523,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"width": 50,
"height": 11
},
"_anchorPoint": {
@@ -2541,6 +2541,7 @@
"__type__": "c4181/FEWhKbY0D0PLdCyKi",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
@@ -2551,14 +2552,13 @@
"hpProgressBar": {
"__id__": 53
},
"lvLabel": null,
"shieldProgressBar": {
"__id__": 77
},
"hpBarSprite": {
"__id__": 36
},
"_id": "a77QVRkP5NX4b+LyqmW1KJ"
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",