feat(ui): 添加战场英雄信息面板并增强主角召唤事件

扩展主角召唤事件,传递更多实体信息供UI系统使用。新增HInfoComp组件作为英雄信息面板基础,并在MissionCardComp中动态生成和管理英雄信息面板,实时显示英雄属性。同时调整相关预制体引用和布局配置。
This commit is contained in:
panw
2026-03-25 17:23:22 +08:00
parent 338394f6ff
commit de90dadaed
6 changed files with 209 additions and 28 deletions

View File

@@ -35,10 +35,13 @@
"_components": [
{
"__id__": 74
},
{
"__id__": 76
}
],
"_prefab": {
"__id__": 76
"__id__": 78
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1733,6 +1736,24 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "9c8CWaboJEQ4tagNhw+LQr"
},
{
"__type__": "a832fh9yR9LJK1kR+tZ1lin",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 77
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "11S1XoDG5Ndo+S7MbRH4us"
},
{
"__type__": "cc.PrefabInfo",
"root": {