fix(gui): 调整角色控制器prefab的布局和激活状态

- 修改_active状态以正确显示/隐藏组件
- 调整_contentSize高度和边距以优化布局
- 更新_bottom和_top值以改善元素定位
This commit is contained in:
walkpan
2026-01-06 19:50:33 +08:00
parent 343e14b56c
commit 84c614e4f3

View File

@@ -10217,7 +10217,7 @@
"__id__": 554
}
],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 569
@@ -10329,7 +10329,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 680,
"height": 300
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -10406,8 +10406,8 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_top": 385,
"_bottom": 385,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -12136,7 +12136,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 680,
"height": 300
"height": 800
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -12166,7 +12166,7 @@
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 383.025,
"_bottom": 133.02499999999998,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -12235,7 +12235,7 @@
"__id__": 601
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 607