feat: 添加卡牌使用组件并集成至卡牌系统

- 新增 CardUseComp 组件,用于处理卡牌使用逻辑和效果分发
- 在 CardComp 中集成 CardUseComp,卡牌使用时触发效果事件
- 修改 MissionCardComp,任务开始时自动发牌至槽位
- 更新预制体资源,修复卡牌 UI 节点引用
This commit is contained in:
walkpan
2026-03-14 13:07:26 +08:00
parent 4530f9e219
commit 2f1af99a1b
6 changed files with 408 additions and 291 deletions

View File

@@ -3251,7 +3251,9 @@
"__prefab": {
"__id__": 141
},
"Lock": null,
"Lock": {
"__id__": 114
},
"unLock": null,
"ap_node": {
"__id__": 81
@@ -3262,7 +3264,9 @@
"name_node": {
"__id__": 108
},
"icon_node": null,
"icon_node": {
"__id__": 57
},
"cost_node": {
"__id__": 127
},

File diff suppressed because it is too large Load Diff