feat: 新增英雄召唤事件并优化UI布局与组件注释
- 在 MissionHeroComp 中召唤英雄后派发 MasterCalled 事件,以更新英雄信息面板 - 调整 hnode.prefab 中多个节点的位置和尺寸,优化界面布局 - 为多个 TypeScript 组件文件添加详细注释,说明职责、关键设计和依赖关系 - 在 MissionCardComp 中完善英雄信息面板的创建、排序和布局逻辑
This commit is contained in:
@@ -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
Reference in New Issue
Block a user