docs: 为游戏地图模块添加详细的代码注释

为游戏地图模块的脚本文件添加全面的注释,说明每个组件的职责、关键设计、依赖关系和使用方式。注释覆盖了英雄信息面板、技能卡槽位管理器、排行榜弹窗、卡牌控制器、背景滚动组件等核心功能模块,提高了代码的可读性和维护性。

同时修复了英雄预制体的激活状态和技能效果预制体的尺寸参数。
This commit is contained in:
walkpan
2026-04-07 19:00:30 +08:00
parent 9a1d517aa9
commit e880613f8f
21 changed files with 1840 additions and 242 deletions

View File

@@ -440,7 +440,7 @@
"propertyPath": [
"_active"
],
"value": false
"value": true
},
{
"__type__": "CCPropertyOverrideInfo",

View File

@@ -127,8 +127,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 110
"width": 90,
"height": 90
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -169,7 +169,7 @@
},
"_type": 1,
"_fillType": 1,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,