refactor(map): 移除废弃的英雄信息面板HInfoComp相关代码
1. 删除HInfoComp组件文件及其元数据 2. 移除UIConfig中HInfo配置项 3. 移除CardComp中打开HInfo面板的逻辑 4. 清理注释和代码中对HInfoComp的引用 5. 更新MissionCardComp的文档注释
This commit is contained in:
@@ -121,7 +121,7 @@ export class HeroMoreCom extends Component {
|
||||
this.closeSelf();
|
||||
return;
|
||||
}
|
||||
// 按 eid 查找英雄实体(与 HInfoComp 口径一致)
|
||||
// 按 eid 查找英雄实体
|
||||
let foundModel: HeroAttrsComp | null = null;
|
||||
ecs.query(ecs.allOf(HeroAttrsComp)).forEach((entity: ecs.Entity) => {
|
||||
if (entity.eid === eid) {
|
||||
|
||||
Reference in New Issue
Block a user