fix: 修复多个预制体布局与组件问题

1. 调整ranks.prefab的prefab引用与新增输入阻断组件
2. 统一调整hnode.prefab的节点位置、尺寸与字体样式
3. 修复map_rpg.prefab的节点偏移、组件id与新增背景矩形节点
This commit is contained in:
panw
2026-05-13 15:38:48 +08:00
parent bafeccbeef
commit 2b446ad45c
5 changed files with 4439 additions and 3329 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -110,7 +110,7 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 45, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
@@ -151,8 +151,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 160, "width": 200,
"height": 160 "height": 200
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -294,8 +294,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 45, "x": 0,
"y": 17.631, "y": 11.301,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -307,8 +307,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -0.8, "x": -1,
"y": 0.8, "y": 1,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -509,7 +509,7 @@
"_top": 0, "_top": 0,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 17.631, "_verticalCenter": 11.301,
"_isAbsLeft": true, "_isAbsLeft": true,
"_isAbsRight": true, "_isAbsRight": true,
"_isAbsTop": true, "_isAbsTop": true,
@@ -572,7 +572,7 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 103.653, "x": 72.111,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
@@ -772,8 +772,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 60, "width": 80,
"height": 170 "height": 210
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -991,8 +991,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 45, "x": 0,
"y": -8.595, "y": -12.461,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -1085,8 +1085,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 90, "width": 105,
"height": 20 "height": 25
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1163,8 +1163,8 @@
"_target": null, "_target": null,
"_left": 0, "_left": 0,
"_right": 0, "_right": 0,
"_top": 0, "_top": -2.5,
"_bottom": 0, "_bottom": -2.5,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
@@ -1435,8 +1435,8 @@
"_string": "99999", "_string": "99999",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 18, "_actualFontSize": 20,
"_fontSize": 18, "_fontSize": 20,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 20, "_lineHeight": 20,
"_overflow": 2, "_overflow": 2,
@@ -1505,7 +1505,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 90, "width": 105,
"height": 20 "height": 20
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -1649,8 +1649,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 45, "x": 0,
"y": -26.278, "y": -35.14,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -1743,8 +1743,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 90, "width": 105,
"height": 20 "height": 25
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -1821,8 +1821,8 @@
"_target": null, "_target": null,
"_left": 0, "_left": 0,
"_right": 0, "_right": 0,
"_top": 0, "_top": -2.5,
"_bottom": 0, "_bottom": -2.5,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
@@ -2093,8 +2093,8 @@
"_string": "99999", "_string": "99999",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 18, "_actualFontSize": 20,
"_fontSize": 18, "_fontSize": 20,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 20, "_lineHeight": 20,
"_overflow": 2, "_overflow": 2,
@@ -2163,7 +2163,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 90, "width": 105,
"height": 20 "height": 20
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -2310,7 +2310,7 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 45, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
@@ -2582,8 +2582,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 180, "width": 220,
"height": 180 "height": 220
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -3241,8 +3241,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 90, "width": 110,
"height": 90 "height": 110
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -5242,8 +5242,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 45, "x": 0,
"y": 40.66599999999994, "y": 46.513,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -5392,12 +5392,12 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 90, "width": 110,
"height": 90 "height": 110
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "" "_id": ""

File diff suppressed because it is too large Load Diff

View File

@@ -47,10 +47,13 @@
}, },
{ {
"__id__": 187 "__id__": 187
},
{
"__id__": 189
} }
], ],
"_prefab": { "_prefab": {
"__id__": 189 "__id__": 191
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -3832,6 +3835,8 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "60zyAJG75FD4lr3BUqk8h+", "fileId": "60zyAJG75FD4lr3BUqk8h+",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@@ -3966,6 +3971,8 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "5baCaOgaJJj5xGYYZRPLag", "fileId": "5baCaOgaJJj5xGYYZRPLag",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@@ -4320,6 +4327,24 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "a8f3R/dcVJa4WiCkhL/wGK" "fileId": "a8f3R/dcVJa4WiCkhL/wGK"
}, },
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 190
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "06K0yfnYlMPJjdjg9cQ8Rg"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@@ -4330,6 +4355,7 @@
}, },
"fileId": "84hrfbDo1AOq3VROGZvWWt", "fileId": "84hrfbDo1AOq3VROGZvWWt",
"instance": null, "instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [ "nestedPrefabInstanceRoots": [
{ {
"__id__": 151 "__id__": 151