From 6cf69b33c85af0f1a25c6b54235135b1292388ab Mon Sep 17 00:00:00 2001 From: panw Date: Thu, 15 Jan 2026 16:06:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(gui):=20=E8=B0=83=E6=95=B4=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E6=8E=A7=E5=88=B6=E5=99=A8UI=E5=85=83=E7=B4=A0?= =?UTF-8?q?=E7=9A=84=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 修改了角色控制器prefab中的多个UI元素属性,包括: - 调整了位置、尺寸和缩放比例 - 激活了之前未启用的组件 - 更新了边框和锚点设置 这些改动是为了修复UI显示不正确的问题 --- assets/resources/gui/role_controller.prefab | 30 ++++++++++----------- assets/resources/gui/umps.plist.meta | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index a080b88c..cdeaa865 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -16886,8 +16886,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 4.7, - "y": 4.7, + "x": 2, + "y": 2, "z": 1 }, "_mobility": 0, @@ -16909,7 +16909,7 @@ "__id__": 773 }, "_children": [], - "_active": false, + "_active": true, "_components": [ { "__id__": 775 @@ -16927,7 +16927,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -1, + "y": 0, "z": 0 }, "_lrot": { @@ -16967,8 +16967,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 155.19148936170214, - "height": 274.34042553191495 + "width": 360.00000000000006, + "height": 640.0000000000001 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -17004,10 +17004,10 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "d7d869bc-06aa-4876-806f-487e68b96780@eb5f8", + "__uuid__": "d7d869bc-06aa-4876-806f-487e68b96780@8b868", "__expectedType__": "cc.SpriteFrame" }, - "_type": 0, + "_type": 1, "_fillType": 0, "_sizeMode": 0, "_fillCenter": { @@ -17043,10 +17043,10 @@ }, "_alignFlags": 45, "_target": null, - "_left": -1, - "_right": -1, - "_top": -1, - "_bottom": -1, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -17092,8 +17092,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 153.1914893617021, - "height": 272.3404255319149 + "width": 360, + "height": 640 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -17132,7 +17132,7 @@ "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@58cb7", "__expectedType__": "cc.SpriteFrame" }, - "_type": 0, + "_type": 1, "_fillType": 0, "_sizeMode": 0, "_fillCenter": { diff --git a/assets/resources/gui/umps.plist.meta b/assets/resources/gui/umps.plist.meta index 03bd4b7f..66ee5d9a 100644 --- a/assets/resources/gui/umps.plist.meta +++ b/assets/resources/gui/umps.plist.meta @@ -71,7 +71,7 @@ "rawWidth": 486, "rawHeight": 999, "borderTop": 0, - "borderBottom": 0, + "borderBottom": 997, "borderLeft": 0, "borderRight": 0, "packable": true,