feat(game): 重构卡牌技能关联逻辑,调整游戏UI布局

为CardConfig新增skill字段,支持卡牌独立关联技能UUID
重构SCardComp与SkillBoxComp的技能获取逻辑,修复技能图标与配置读取问题,修正组件参数注释
调整GameSet中的游戏地平线坐标,优化多个场景与UI预制体的布局位置
移除部分预制体中的冗余配置项,清理无效代码
This commit is contained in:
panFD
2026-06-04 23:12:57 +08:00
parent c1f1aea387
commit 500ba03eb9
10 changed files with 1608 additions and 1431 deletions

View File

@@ -404,7 +404,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": -200,
"z": 0
},
"_lrot": {
@@ -21904,8 +21904,6 @@
"__id__": 0
},
"fileId": "c4IqMKgXNExa5w4EAciRxE",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{

File diff suppressed because it is too large Load Diff

View File

@@ -70,7 +70,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -170,
"y": 390,
"z": 0
},
"_lrot": {
@@ -164,7 +164,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 700,
"height": 250
"height": 310
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -774,7 +774,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": -240,
"y": 0,
"y": 21.879,
"z": 0
},
"_lrot": {
@@ -6610,8 +6610,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 260.962,
"y": -78.959,
"x": 259.779,
"y": -113.255,
"z": 0
},
"_lrot": {
@@ -7012,8 +7012,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 120.608,
"y": -78.959,
"x": 119.425,
"y": -113.255,
"z": 0
},
"_lrot": {
@@ -7418,7 +7418,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 100,
"y": 81.742,
"y": 103.621,
"z": 0
},
"_lrot": {
@@ -9897,7 +9897,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 100,
"y": 0,
"y": 0.887,
"z": 0
},
"_lrot": {
@@ -9991,7 +9991,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 900,
"height": 210
"height": 310
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -10275,7 +10275,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 460,
"height": 100
"height": 150
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -10390,7 +10390,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 700,
"height": 240
"height": 300
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -10436,9 +10436,6 @@
"lv_node": {
"__id__": 165
},
"pool_lvnode": {
"__id__": 168
},
"ap_node": {
"__id__": 391
},
@@ -10466,11 +10463,11 @@
"__prefab": {
"__id__": 493
},
"_alignFlags": 44,
"_alignFlags": 41,
"_target": null,
"_left": 10,
"_right": 10,
"_top": 0,
"_top": 100,
"_bottom": 350,
"_horizontalCenter": 0,
"_verticalCenter": 0,
@@ -10481,7 +10478,7 @@
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 110,
"_originalHeight": 0,
"_originalHeight": 240,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""

View File

@@ -14302,7 +14302,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 761.798,
"y": 969.971,
"y": 640,
"z": 0
},
"_lrot": {
@@ -14903,11 +14903,11 @@
"__prefab": {
"__id__": 701
},
"_alignFlags": 1,
"_alignFlags": 2,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 250.0290000000001,
"_top": 448.34799999999996,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,

View File

@@ -232,7 +232,7 @@
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_verticalCenter": -200,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
@@ -276,7 +276,7 @@
"value": {
"__type__": "cc.Vec3",
"x": -185.574,
"y": 640,
"y": 440,
"z": 0
}
},