fix(gui): 调整角色控制器UI元素的位置和尺寸

修改了角色控制器prefab中的多个UI元素属性,包括:
- 调整了位置、尺寸和缩放比例
- 激活了之前未启用的组件
- 更新了边框和锚点设置
这些改动是为了修复UI显示不正确的问题
This commit is contained in:
panw
2026-01-15 16:06:07 +08:00
parent fe5ed952d5
commit 6cf69b33c8
2 changed files with 16 additions and 16 deletions

View File

@@ -16886,8 +16886,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 4.7, "x": 2,
"y": 4.7, "y": 2,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -16909,7 +16909,7 @@
"__id__": 773 "__id__": 773
}, },
"_children": [], "_children": [],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 775 "__id__": 775
@@ -16927,7 +16927,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": -1, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -16967,8 +16967,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 155.19148936170214, "width": 360.00000000000006,
"height": 274.34042553191495 "height": 640.0000000000001
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -17004,10 +17004,10 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "d7d869bc-06aa-4876-806f-487e68b96780@eb5f8", "__uuid__": "d7d869bc-06aa-4876-806f-487e68b96780@8b868",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 1,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 0, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {
@@ -17043,10 +17043,10 @@
}, },
"_alignFlags": 45, "_alignFlags": 45,
"_target": null, "_target": null,
"_left": -1, "_left": 0,
"_right": -1, "_right": 0,
"_top": -1, "_top": 0,
"_bottom": -1, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
@@ -17092,8 +17092,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 153.1914893617021, "width": 360,
"height": 272.3404255319149 "height": 640
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -17132,7 +17132,7 @@
"__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@58cb7", "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@58cb7",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 1,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 0, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {

View File

@@ -71,7 +71,7 @@
"rawWidth": 486, "rawWidth": 486,
"rawHeight": 999, "rawHeight": 999,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 997,
"borderLeft": 0, "borderLeft": 0,
"borderRight": 0, "borderRight": 0,
"packable": true, "packable": true,