From 57ea9a1587c1f3010ef0f0c3d8db04b86286bc14 Mon Sep 17 00:00:00 2001 From: panw Date: Thu, 15 Jan 2026 14:54:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor(gui):=20=E8=B0=83=E6=95=B4UI=E5=85=83?= =?UTF-8?q?=E7=B4=A0=E5=B0=BA=E5=AF=B8=E5=92=8C=E4=BD=8D=E7=BD=AE=E4=BB=A5?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整多个UI元素的尺寸、位置和缩放比例,包括图标、卡片和控制器组件,以改善整体布局和用户体验。删除无用的meta文件。 --- assets/resources/gui/role_controller.prefab | 120 ++--- assets/resources/gui/uis/bgs/card.prefab | 444 ++++++++++++++---- assets/resources/gui/uis/bgs/icon.prefab | 31 +- .../game/common/config/TDLevelOptions.ts.meta | 9 - 4 files changed, 420 insertions(+), 184 deletions(-) delete mode 100644 assets/script/game/common/config/TDLevelOptions.ts.meta diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 2252b1ee..cbd86ba6 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -717,7 +717,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -467.5, + "y": -517.5, "z": 0 }, "_lrot": { @@ -758,7 +758,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 710, - "height": 330 + "height": 230 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -5326,7 +5326,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -363.96399999999994, + "y": -342.5, "z": 0 }, "_lrot": { @@ -5431,7 +5431,7 @@ ], "value": { "__type__": "cc.Vec3", - "x": -280, + "x": -295, "y": 0, "z": 0 } @@ -5580,7 +5580,7 @@ ], "value": { "__type__": "cc.Vec3", - "x": -170, + "x": -178, "y": 0, "z": 0 } @@ -5711,7 +5711,7 @@ ], "value": { "__type__": "cc.Vec3", - "x": -60, + "x": -61, "y": 0, "z": 0 } @@ -5839,7 +5839,7 @@ ], "value": { "__type__": "cc.Vec3", - "x": 50, + "x": 56, "y": 0, "z": 0 } @@ -5951,7 +5951,7 @@ ], "value": { "__type__": "cc.Vec3", - "x": 160, + "x": 173, "y": 0, "z": 0 } @@ -6063,7 +6063,7 @@ ], "value": { "__type__": "cc.Vec3", - "x": 270, + "x": 290, "y": 0, "z": 0 } @@ -6113,7 +6113,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 680, + "width": 700, "height": 100 }, "_anchorPoint": { @@ -6141,10 +6141,10 @@ }, "_alignFlags": 44, "_target": null, - "_left": 20, - "_right": 20, + "_left": 10, + "_right": 10, "_top": 140, - "_bottom": 223.53600000000003, + "_bottom": 245, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -6183,11 +6183,11 @@ "height": 40 }, "_startAxis": 0, - "_paddingLeft": 10, + "_paddingLeft": 0, "_paddingRight": 0, "_paddingTop": 0, "_paddingBottom": 0, - "_spacingX": 10, + "_spacingX": 7, "_spacingY": 0, "_verticalDirection": 1, "_horizontalDirection": 0, @@ -7375,7 +7375,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -167.5, + "y": -152.5, "z": 0 }, "_lrot": { @@ -7498,7 +7498,7 @@ ], "value": { "__type__": "cc.Vec3", - "x": -255, + "x": -262.5, "y": 0, "z": 0 } @@ -7739,7 +7739,7 @@ ], "value": { "__type__": "cc.Vec3", - "x": -85, + "x": -87.5, "y": 0, "z": 0 } @@ -7948,7 +7948,7 @@ ], "value": { "__type__": "cc.Vec3", - "x": 85, + "x": 87.5, "y": 0, "z": 0 } @@ -8154,7 +8154,7 @@ ], "value": { "__type__": "cc.Vec3", - "x": 255, + "x": 262.5, "y": 0, "z": 0 } @@ -8270,7 +8270,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 680, + "width": 710, "height": 300 }, "_anchorPoint": { @@ -8298,10 +8298,10 @@ }, "_alignFlags": 44, "_target": null, - "_left": 20, - "_right": 20, + "_left": 5, + "_right": 5, "_top": 0, - "_bottom": 320, + "_bottom": 335, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -8340,7 +8340,7 @@ "height": 40 }, "_startAxis": 0, - "_paddingLeft": 5, + "_paddingLeft": 10, "_paddingRight": 0, "_paddingTop": 0, "_paddingBottom": 0, @@ -8939,7 +8939,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 255, + "x": 260, "y": 0, "z": 0 }, @@ -9005,8 +9005,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": -87.5, + "x": 2.5, + "y": -152.5, "z": 0 }, "_lrot": { @@ -9058,7 +9058,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -255, + "x": -265, "y": 0, "z": 0 }, @@ -9099,7 +9099,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 160, + "width": 165, "height": 240 }, "_anchorPoint": { @@ -9128,7 +9128,7 @@ "_alignFlags": 36, "_target": null, "_left": 0, - "_right": 515, + "_right": 535, "_top": 0, "_bottom": 30, "_horizontalCenter": 0, @@ -9206,7 +9206,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -85, + "x": -90, "y": 0, "z": 0 }, @@ -9247,7 +9247,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 160, + "width": 165, "height": 240 }, "_anchorPoint": { @@ -9276,7 +9276,7 @@ "_alignFlags": 36, "_target": null, "_left": 0, - "_right": 345, + "_right": 360, "_top": 0, "_bottom": 30, "_horizontalCenter": 0, @@ -9395,7 +9395,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 160, + "width": 165, "height": 240 }, "_anchorPoint": { @@ -9424,7 +9424,7 @@ "_alignFlags": 36, "_target": null, "_left": 0, - "_right": 175, + "_right": 185, "_top": 0, "_bottom": 30, "_horizontalCenter": 0, @@ -9490,7 +9490,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 680, + "width": 705, "height": 300 }, "_anchorPoint": { @@ -9518,10 +9518,10 @@ }, "_alignFlags": 44, "_target": null, - "_left": 20, - "_right": 20, + "_left": 10, + "_right": 5, "_top": 0, - "_bottom": 400, + "_bottom": 335, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -10400,7 +10400,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 160, + "width": 165, "height": 240 }, "_anchorPoint": { @@ -10429,7 +10429,7 @@ "_alignFlags": 36, "_target": null, "_left": 0, - "_right": 5, + "_right": 10, "_top": 0, "_bottom": 30, "_horizontalCenter": 0, @@ -12686,7 +12686,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 276.521, - "y": 94.274, + "y": 43.851999999999975, "z": 0 }, "_lrot": { @@ -12790,7 +12790,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 22.74, - "y": 3.431, + "y": 2, "z": 0 }, "_lrot": { @@ -12830,8 +12830,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 29, - "height": 32 + "width": 15, + "height": 16 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -12872,7 +12872,7 @@ }, "_type": 1, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -12916,8 +12916,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 120, - "height": 60 + "width": 100, + "height": 30 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -13066,7 +13066,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": -15.927, - "y": 3.431, + "y": 2, "z": 0 }, "_lrot": { @@ -13106,8 +13106,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 29, - "height": 32 + "width": 15, + "height": 16 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -13192,8 +13192,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 120, - "height": 60 + "width": 100, + "height": 30 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -13287,8 +13287,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -127.91, - "y": 0, + "x": -100.064, + "y": 3.342, "z": 0 }, "_lrot": { @@ -13328,7 +13328,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 133.990234375, + "width": 90.66015625, "height": 54.4 }, "_anchorPoint": { @@ -13367,8 +13367,8 @@ "_string": "战斗不停:", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 30, - "_fontSize": 30, + "_actualFontSize": 20, + "_fontSize": 20, "_fontFamily": "Arial", "_lineHeight": 40, "_overflow": 0, @@ -13538,7 +13538,7 @@ "_left": 0, "_right": 0, "_top": 0, - "_bottom": 701.774, + "_bottom": 651.352, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, diff --git a/assets/resources/gui/uis/bgs/card.prefab b/assets/resources/gui/uis/bgs/card.prefab index 59f2c813..b3c08a26 100644 --- a/assets/resources/gui/uis/bgs/card.prefab +++ b/assets/resources/gui/uis/bgs/card.prefab @@ -34,29 +34,29 @@ "__id__": 34 }, { - "__id__": 40 + "__id__": 52 }, { - "__id__": 56 + "__id__": 68 }, { - "__id__": 64 + "__id__": 76 } ], "_active": true, "_components": [ { - "__id__": 74 + "__id__": 86 }, { - "__id__": 76 + "__id__": 88 }, { - "__id__": 78 + "__id__": 90 } ], "_prefab": { - "__id__": 80 + "__id__": 92 }, "_lpos": { "__type__": "cc.Vec3", @@ -126,8 +126,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.5, + "y": 0.5, "z": 1 }, "_mobility": 0, @@ -301,8 +301,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.5, + "y": 0.5, "z": 1 }, "_mobility": 0, @@ -329,8 +329,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 160, - "height": 240 + "width": 330, + "height": 480 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -476,8 +476,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.5, + "y": 0.5, "z": 1 }, "_mobility": 0, @@ -651,8 +651,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.5, + "y": 0.5, "z": 1 }, "_mobility": 0, @@ -679,8 +679,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 160, - "height": 240 + "width": 330, + "height": 480 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -789,29 +789,92 @@ }, { "__type__": "cc.Node", - "_name": "icon", + "_name": "Mask", "_objFlags": 0, "__editorExtras__": {}, "_parent": { "__id__": 1 }, - "_children": [], + "_children": [ + { + "__id__": 35 + } + ], "_active": true, "_components": [ { - "__id__": 35 + "__id__": 43 }, { - "__id__": 37 + "__id__": 45 + }, + { + "__id__": 47 + }, + { + "__id__": 49 } ], "_prefab": { - "__id__": 39 + "__id__": 51 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 67.823, + "y": 60, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "icon", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 34 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 36 + }, + { + "__id__": 38 + }, + { + "__id__": 40 + } + ], + "_prefab": { + "__id__": 42 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -7.313999999999993, "z": 0 }, "_lrot": { @@ -843,16 +906,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 34 + "__id__": 35 }, "_enabled": true, "__prefab": { - "__id__": 36 + "__id__": 37 }, "_contentSize": { "__type__": "cc.Size", - "width": 130, - "height": 80 + "width": 155, + "height": 150 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -871,11 +934,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 34 + "__id__": 35 }, "_enabled": true, "__prefab": { - "__id__": 38 + "__id__": 39 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -888,10 +951,10 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@c83a0", + "__uuid__": "031877cb-0f3d-4e92-bc5d-e492a0d95a08@04ed9", "__expectedType__": "cc.SpriteFrame" }, - "_type": 0, + "_type": 3, "_fillType": 0, "_sizeMode": 0, "_fillCenter": { @@ -900,11 +963,11 @@ "y": 0 }, "_fillStart": 0, - "_fillRange": 0, + "_fillRange": 1, "_isTrimmedMode": true, "_useGrayscale": false, "_atlas": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a", + "__uuid__": "031877cb-0f3d-4e92-bc5d-e492a0d95a08", "__expectedType__": "cc.SpriteAtlas" }, "_id": "" @@ -913,6 +976,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "f7JmA0HNlE5oR5MLh43SRX" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 41 + }, + "_alignFlags": 41, + "_target": null, + "_left": 0, + "_right": 0, + "_top": -12.686000000000003, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 130, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e80m4M4JxIOZ25RxXesq71" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -926,6 +1025,151 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_enabled": true, + "__prefab": { + "__id__": 44 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 155, + "height": 110 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6fbRyYjqVNqbOb/IWLg1Dd" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_enabled": true, + "__prefab": { + "__id__": 46 + }, + "_type": 0, + "_inverted": false, + "_segments": 64, + "_alphaThreshold": 0.1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2aUMQQRspCYJ8OgdgyRw3q" + }, + { + "__type__": "cc.Graphics", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_enabled": true, + "__prefab": { + "__id__": 48 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_lineWidth": 1, + "_strokeColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_lineJoin": 2, + "_lineCap": 0, + "_fillColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_miterLimit": 10, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "07aBURt0VBIIDsYAkvRi0e" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_enabled": true, + "__prefab": { + "__id__": 50 + }, + "_alignFlags": 41, + "_target": null, + "_left": 5, + "_right": 5, + "_top": 5, + "_bottom": 150.5, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ccpEgXJwVKioTAvPRfNTLP" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0eF4F5aC5IPKS2iXB7nO3F", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.Node", "_name": "info", @@ -936,28 +1180,28 @@ }, "_children": [ { - "__id__": 41 + "__id__": 53 } ], "_active": true, "_components": [ { - "__id__": 49 + "__id__": 61 }, { - "__id__": 51 + "__id__": 63 }, { - "__id__": 53 + "__id__": 65 } ], "_prefab": { - "__id__": 55 + "__id__": 67 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": -30, + "x": 1.625, + "y": -52.417500000000004, "z": 0 }, "_lrot": { @@ -989,23 +1233,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 40 + "__id__": 52 }, "_children": [], "_active": true, "_components": [ { - "__id__": 42 + "__id__": 54 }, { - "__id__": 44 + "__id__": 56 }, { - "__id__": 46 + "__id__": 58 } ], "_prefab": { - "__id__": 48 + "__id__": 60 }, "_lpos": { "__type__": "cc.Vec3", @@ -1042,16 +1286,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 41 + "__id__": 53 }, "_enabled": true, "__prefab": { - "__id__": 43 + "__id__": 55 }, "_contentSize": { "__type__": "cc.Size", - "width": 126, - "height": 90 + "width": 141.75, + "height": 95.16499999999999 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1070,11 +1314,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 41 + "__id__": 53 }, "_enabled": true, "__prefab": { - "__id__": 45 + "__id__": 57 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1089,7 +1333,7 @@ "_string": "这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍这里时介绍", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 12, + "_actualFontSize": 13, "_fontSize": 20, "_fontFamily": "Arial", "_lineHeight": 28, @@ -1138,11 +1382,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 41 + "__id__": 53 }, "_enabled": true, "__prefab": { - "__id__": 47 + "__id__": 59 }, "_alignFlags": 45, "_target": null, @@ -1187,16 +1431,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 40 + "__id__": 52 }, "_enabled": true, "__prefab": { - "__id__": 50 + "__id__": 62 }, "_contentSize": { "__type__": "cc.Size", - "width": 136, - "height": 100 + "width": 151.75, + "height": 105.16499999999999 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1215,11 +1459,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 40 + "__id__": 52 }, "_enabled": true, "__prefab": { - "__id__": 52 + "__id__": 64 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1260,21 +1504,21 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 40 + "__id__": 52 }, "_enabled": true, "__prefab": { - "__id__": 54 + "__id__": 66 }, "_alignFlags": 45, "_target": null, - "_left": 12, - "_right": 12, - "_top": 100, - "_bottom": 40, + "_left": 0.05, + "_right": 5, + "_top": 119.83500000000001, + "_bottom": 15, "_horizontalCenter": 0, "_verticalCenter": 0, - "_isAbsLeft": true, + "_isAbsLeft": false, "_isAbsRight": true, "_isAbsTop": true, "_isAbsBottom": true, @@ -1315,22 +1559,22 @@ "_active": true, "_components": [ { - "__id__": 57 + "__id__": 69 }, { - "__id__": 59 + "__id__": 71 }, { - "__id__": 61 + "__id__": 73 } ], "_prefab": { - "__id__": 63 + "__id__": 75 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 30.826, + "y": 134.861, "z": 0 }, "_lrot": { @@ -1362,15 +1606,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 68 }, "_enabled": true, "__prefab": { - "__id__": 58 + "__id__": 70 }, "_contentSize": { "__type__": "cc.Size", - "width": 140, + "width": 145, "height": 54.4 }, "_anchorPoint": { @@ -1390,11 +1634,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 68 }, "_enabled": true, "__prefab": { - "__id__": 60 + "__id__": 72 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1412,14 +1656,14 @@ "_actualFontSize": 31, "_fontSize": 30, "_fontFamily": "Arial", - "_lineHeight": 40, + "_lineHeight": 35, "_overflow": 2, "_enableWrapText": true, "_font": null, "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": false, - "_isBold": false, + "_isBold": true, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -1458,11 +1702,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 68 }, "_enabled": true, "__prefab": { - "__id__": 62 + "__id__": 74 }, "_alignFlags": 40, "_target": null, @@ -1511,17 +1755,17 @@ }, "_children": [ { - "__id__": 65 + "__id__": 77 } ], "_active": true, "_components": [ { - "__id__": 71 + "__id__": 83 } ], "_prefab": { - "__id__": 73 + "__id__": 85 }, "_lpos": { "__type__": "cc.Vec3", @@ -1558,20 +1802,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 64 + "__id__": 76 }, "_children": [], "_active": true, "_components": [ { - "__id__": 66 + "__id__": 78 }, { - "__id__": 68 + "__id__": 80 } ], "_prefab": { - "__id__": 70 + "__id__": 82 }, "_lpos": { "__type__": "cc.Vec3", @@ -1608,11 +1852,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 65 + "__id__": 77 }, "_enabled": true, "__prefab": { - "__id__": 67 + "__id__": 79 }, "_contentSize": { "__type__": "cc.Size", @@ -1636,11 +1880,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 65 + "__id__": 77 }, "_enabled": true, "__prefab": { - "__id__": 69 + "__id__": 81 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1694,11 +1938,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 64 + "__id__": 76 }, "_enabled": true, "__prefab": { - "__id__": 72 + "__id__": 84 }, "_contentSize": { "__type__": "cc.Size", @@ -1739,11 +1983,11 @@ }, "_enabled": true, "__prefab": { - "__id__": 75 + "__id__": 87 }, "_contentSize": { "__type__": "cc.Size", - "width": 160, + "width": 165, "height": 240 }, "_anchorPoint": { @@ -1767,7 +2011,7 @@ }, "_enabled": false, "__prefab": { - "__id__": 77 + "__id__": 89 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1812,7 +2056,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 79 + "__id__": 91 }, "clickEvents": [], "_interactable": true, diff --git a/assets/resources/gui/uis/bgs/icon.prefab b/assets/resources/gui/uis/bgs/icon.prefab index f6e8cb9b..30f50d89 100644 --- a/assets/resources/gui/uis/bgs/icon.prefab +++ b/assets/resources/gui/uis/bgs/icon.prefab @@ -114,8 +114,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.5, + "y": 0.5, "z": 1 }, "_mobility": 0, @@ -142,8 +142,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 100, - "height": 100 + "width": 220, + "height": 220 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -289,8 +289,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.5, + "y": 0.5, "z": 1 }, "_mobility": 0, @@ -317,8 +317,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 100, - "height": 100 + "width": 220, + "height": 220 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -464,8 +464,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.5, + "y": 0.5, "z": 1 }, "_mobility": 0, @@ -492,8 +492,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 100, - "height": 100 + "width": 220, + "height": 220 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -773,8 +773,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 100, - "height": 100 + "width": 110, + "height": 110 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -909,6 +909,7 @@ "__id__": 0 }, "fileId": "23znkFS6BDwoO5cjQxIEur", - "instance": null + "instance": null, + "targetOverrides": null } ] \ No newline at end of file diff --git a/assets/script/game/common/config/TDLevelOptions.ts.meta b/assets/script/game/common/config/TDLevelOptions.ts.meta deleted file mode 100644 index 824cf518..00000000 --- a/assets/script/game/common/config/TDLevelOptions.ts.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "4.0.24", - "importer": "typescript", - "imported": true, - "uuid": "ba8d7233-f618-4f7b-8807-46ad781f8ddb", - "files": [], - "subMetas": {}, - "userData": {} -}