fix: 调整游戏地平线并修复UI元素位置与显示问题

- 将游戏地平线从100调整为0,修正游戏世界坐标基准
- 修复地图中多个物体的Y轴位置偏移问题
- 调整hnode.prefab中按钮尺寸、字体大小和布局边距
- 修复role_controller.prefab中控制面板的激活状态和位置
- 移除prefab中多余的instance和targetOverrides字段
This commit is contained in:
walkpan
2026-05-02 20:29:08 +08:00
parent 84138fbf7b
commit a61df22aa8
4 changed files with 34 additions and 38 deletions

View File

@@ -1455,7 +1455,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 67.5,
"y": -57,
"y": -51.718,
"z": 0
},
"_lrot": {
@@ -2044,7 +2044,7 @@
"_left": 10,
"_right": 10,
"_top": 0,
"_bottom": 5.5000000000000036,
"_bottom": 10.782,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -2072,8 +2072,6 @@
"__id__": 0
},
"fileId": "76MLe+aB5MMobrM65vInVA",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -2113,7 +2111,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 67.5,
"y": -79.12100000000001,
"y": -73.839,
"z": 0
},
"_lrot": {
@@ -2702,7 +2700,7 @@
"_left": 10,
"_right": 10,
"_top": 0,
"_bottom": -16.621000000000002,
"_bottom": -11.338999999999992,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -4834,7 +4832,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 67.5,
"y": -116.59899999999999,
"y": -111.31700000000001,
"z": 0
},
"_lrot": {
@@ -4925,7 +4923,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 40
"height": 55
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -4963,10 +4961,10 @@
"_string": "出售",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 25,
"_fontSize": 25,
"_actualFontSize": 45,
"_fontSize": 45,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_lineHeight": 55,
"_overflow": 1,
"_enableWrapText": false,
"_font": null,
@@ -4985,7 +4983,7 @@
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_outlineWidth": 3,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
@@ -5184,7 +5182,7 @@
"_left": 10,
"_right": 10,
"_top": 0,
"_bottom": -61.599000000000004,
"_bottom": -56.31699999999999,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -5212,8 +5210,6 @@
"__id__": 0
},
"fileId": "02JrX+YSZAXZFrDj1ZF6Vq",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{