feat: 新增英雄召唤事件并优化UI布局与组件注释

- 在 MissionHeroComp 中召唤英雄后派发 MasterCalled 事件,以更新英雄信息面板
- 调整 hnode.prefab 中多个节点的位置和尺寸,优化界面布局
- 为多个 TypeScript 组件文件添加详细注释,说明职责、关键设计和依赖关系
- 在 MissionCardComp 中完善英雄信息面板的创建、排序和布局逻辑
This commit is contained in:
walkpan
2026-04-07 19:52:40 +08:00
parent e880613f8f
commit 81a07bc16c
12 changed files with 2952 additions and 2639 deletions

View File

@@ -578,7 +578,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 55,
"x": 65,
"y": 12.894000000000005,
"z": 0
},
@@ -672,7 +672,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"width": 130,
"height": 165
},
"_anchorPoint": {
@@ -1509,7 +1509,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"width": 130,
"height": 165
},
"_anchorPoint": {
@@ -1611,7 +1611,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 55,
"x": 65,
"y": 12.894000000000005,
"z": 0
},
@@ -1705,7 +1705,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"width": 130,
"height": 165
},
"_anchorPoint": {
@@ -2542,7 +2542,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"width": 130,
"height": 165
},
"_anchorPoint": {
@@ -4549,7 +4549,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 55,
"x": 65,
"y": -90,
"z": 0
},
@@ -4749,7 +4749,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 104,
"width": 124,
"height": 40
},
"_anchorPoint": {
@@ -4946,7 +4946,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"width": 130,
"height": 150
},
"_anchorPoint": {

File diff suppressed because it is too large Load Diff