From b99f75b1b9ba1cdc4f2d923dc6a93cf97b15265d Mon Sep 17 00:00:00 2001 From: walkpan Date: Fri, 2 Jan 2026 15:23:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ui):=20=E8=B0=83=E6=95=B4=E8=8B=B1?= =?UTF-8?q?=E9=9B=84=E9=A1=B6=E9=83=A8UI=E5=85=83=E7=B4=A0=E7=9A=84?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E5=92=8C=E5=B0=BA=E5=AF=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改多个UI元素的y轴位置和高度值 - 禁用部分UI组件 - 移除冗余的instance和targetOverrides字段 --- assets/resources/game/heros/top.prefab | 60 +++++++++++--------------- 1 file changed, 26 insertions(+), 34 deletions(-) diff --git a/assets/resources/game/heros/top.prefab b/assets/resources/game/heros/top.prefab index 4fd204b8..95ab91ad 100644 --- a/assets/resources/game/heros/top.prefab +++ b/assets/resources/game/heros/top.prefab @@ -238,7 +238,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -9.663, + "y": -6.195, "z": 0 }, "_lrot": { @@ -389,7 +389,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 97, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -514,7 +514,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 97, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -675,7 +675,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 98, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -853,7 +853,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 333.33333333333337, - "height": 50 + "height": 33.333333333333336 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -978,7 +978,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 100, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -999,7 +999,7 @@ "node": { "__id__": 8 }, - "_enabled": true, + "_enabled": false, "__prefab": { "__id__": 44 }, @@ -1073,8 +1073,6 @@ "__id__": 0 }, "fileId": "01szxt1VRFsrauOErEIQn+", - "instance": null, - "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -1114,7 +1112,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -9.663, + "y": -6.195, "z": 0 }, "_lrot": { @@ -1265,7 +1263,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 97, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1390,7 +1388,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 97, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1551,7 +1549,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 98, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1729,7 +1727,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 333.33333333333337, - "height": 50 + "height": 33.333333333333336 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1854,7 +1852,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 100, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1875,7 +1873,7 @@ "node": { "__id__": 48 }, - "_enabled": true, + "_enabled": false, "__prefab": { "__id__": 84 }, @@ -1949,8 +1947,6 @@ "__id__": 0 }, "fileId": "894T590c9Nyr7Y3ok7yBrM", - "instance": null, - "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -2141,7 +2137,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 97, - "height": 13 + "height": 8 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2266,7 +2262,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 97, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2430,7 +2426,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 98, - "height": 13 + "height": 8 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2608,7 +2604,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 333.33333333333337, - "height": 50 + "height": 33.333333333333336 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2733,7 +2729,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 100, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2754,7 +2750,7 @@ "node": { "__id__": 88 }, - "_enabled": true, + "_enabled": false, "__prefab": { "__id__": 124 }, @@ -2828,8 +2824,6 @@ "__id__": 0 }, "fileId": "4bGUhFXlZF/Jdkcq0HY9ai", - "instance": null, - "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -3020,7 +3014,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 97, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3145,7 +3139,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 97, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3306,7 +3300,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 98, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3484,7 +3478,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 333.33333333333337, - "height": 50 + "height": 33.333333333333336 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3609,7 +3603,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 100, - "height": 15 + "height": 10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3630,7 +3624,7 @@ "node": { "__id__": 128 }, - "_enabled": true, + "_enabled": false, "__prefab": { "__id__": 164 }, @@ -3704,8 +3698,6 @@ "__id__": 0 }, "fileId": "32HF124+5LVqGOnUmyAZ0q", - "instance": null, - "targetOverrides": null, "nestedPrefabInstanceRoots": null }, {