refactor(ui): 调整英雄顶部UI元素的位置和尺寸

- 修改多个UI元素的y轴位置和高度值
- 禁用部分UI组件
- 移除冗余的instance和targetOverrides字段
This commit is contained in:
walkpan
2026-01-02 15:23:55 +08:00
parent e9abbefe9d
commit b99f75b1b9

View File

@@ -238,7 +238,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -9.663, "y": -6.195,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -389,7 +389,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 97, "width": 97,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -514,7 +514,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 97, "width": 97,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -675,7 +675,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 98, "width": 98,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -853,7 +853,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 333.33333333333337, "width": 333.33333333333337,
"height": 50 "height": 33.333333333333336
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -978,7 +978,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 100, "width": 100,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -999,7 +999,7 @@
"node": { "node": {
"__id__": 8 "__id__": 8
}, },
"_enabled": true, "_enabled": false,
"__prefab": { "__prefab": {
"__id__": 44 "__id__": 44
}, },
@@ -1073,8 +1073,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "01szxt1VRFsrauOErEIQn+", "fileId": "01szxt1VRFsrauOErEIQn+",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@@ -1114,7 +1112,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -9.663, "y": -6.195,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -1265,7 +1263,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 97, "width": 97,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1390,7 +1388,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 97, "width": 97,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1551,7 +1549,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 98, "width": 98,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1729,7 +1727,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 333.33333333333337, "width": 333.33333333333337,
"height": 50 "height": 33.333333333333336
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1854,7 +1852,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 100, "width": 100,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1875,7 +1873,7 @@
"node": { "node": {
"__id__": 48 "__id__": 48
}, },
"_enabled": true, "_enabled": false,
"__prefab": { "__prefab": {
"__id__": 84 "__id__": 84
}, },
@@ -1949,8 +1947,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "894T590c9Nyr7Y3ok7yBrM", "fileId": "894T590c9Nyr7Y3ok7yBrM",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@@ -2141,7 +2137,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 97, "width": 97,
"height": 13 "height": 8
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -2266,7 +2262,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 97, "width": 97,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -2430,7 +2426,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 98, "width": 98,
"height": 13 "height": 8
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -2608,7 +2604,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 333.33333333333337, "width": 333.33333333333337,
"height": 50 "height": 33.333333333333336
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -2733,7 +2729,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 100, "width": 100,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -2754,7 +2750,7 @@
"node": { "node": {
"__id__": 88 "__id__": 88
}, },
"_enabled": true, "_enabled": false,
"__prefab": { "__prefab": {
"__id__": 124 "__id__": 124
}, },
@@ -2828,8 +2824,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "4bGUhFXlZF/Jdkcq0HY9ai", "fileId": "4bGUhFXlZF/Jdkcq0HY9ai",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@@ -3020,7 +3014,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 97, "width": 97,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -3145,7 +3139,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 97, "width": 97,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -3306,7 +3300,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 98, "width": 98,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -3484,7 +3478,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 333.33333333333337, "width": 333.33333333333337,
"height": 50 "height": 33.333333333333336
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -3609,7 +3603,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 100, "width": 100,
"height": 15 "height": 10
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -3630,7 +3624,7 @@
"node": { "node": {
"__id__": 128 "__id__": 128
}, },
"_enabled": true, "_enabled": false,
"__prefab": { "__prefab": {
"__id__": 164 "__id__": 164
}, },
@@ -3704,8 +3698,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "32HF124+5LVqGOnUmyAZ0q", "fileId": "32HF124+5LVqGOnUmyAZ0q",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {