feat(map): 新增可动态加载的收集物UI组件
- 添加 MGetComp 组件用于管理单个收集物的显示逻辑 - 创建 get.prefab 预制体作为收集物UI模板 - 重构 MissionGetsComp,移除硬编码节点引用,改为动态加载 - 支持通过 load_hui 方法按需加载收集物UI实例
This commit is contained in:
9
assets/script/game/map/MGetComp.ts.meta
Normal file
9
assets/script/game/map/MGetComp.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "7ddd121f-1918-4eed-ad9b-ebaa2fe5b606",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
Reference in New Issue
Block a user