feat(ui): 将卡牌槽位从4个调整为3个并更新布局

- 隐藏第四个卡牌槽位,将抽卡逻辑从4张改为3张
- 调整卡牌预制体中的位置和尺寸以适配新布局
- 更新角色控制器UI的宽度和间距设置
- 修改卡牌放大时的位置判定阈值和高度
This commit is contained in:
panw
2026-04-24 10:05:16 +08:00
parent 5dfc790412
commit 051342a9c4
4 changed files with 535 additions and 654 deletions

View File

@@ -14093,7 +14093,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 320,
"width": 220,
"height": 150
},
"_anchorPoint": {
@@ -14127,11 +14127,11 @@
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 100,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 50,
"_spacingX": 0,
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 0,
@@ -14159,8 +14159,8 @@
},
"_alignFlags": 44,
"_target": null,
"_left": 200,
"_right": 200,
"_left": 250,
"_right": 250,
"_top": 1230,
"_bottom": 7.988,
"_horizontalCenter": 0,
@@ -15364,7 +15364,7 @@
"__id__": 965
}
],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 982
@@ -20058,8 +20058,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 134.7058823529412,
"height": 57.64705882352941
"width": 252.3529411764706,
"height": 104.70588235294117
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -20183,8 +20183,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 120
"width": 500,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -20284,7 +20284,7 @@
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 280.807,
"_bottom": 240.80700000000002,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,