初步 修改英雄信息

This commit is contained in:
2025-02-26 16:18:40 +08:00
parent 94b8c992da
commit 5279a65284
5 changed files with 2597 additions and 2726 deletions

View File

@@ -58,9 +58,14 @@ export class CardControllerComp extends CCComp {
mission_to_mission_home(){
let mission_home=this.node.getChildByName("mission_home").getComponent(MissionHomeComp)
this.node.getChildByName("mission_home").active = true
let mission=this.node.getChildByName("mission")
mission.active = false
mission_home.load_ui_heros()
}
show_hero_home(){
let hero_home=this.node.getChildByName("hero_home")
hero_home.active = true
}
/** 视图对象通过 ecs.Entity.remove(ControllerComp) 删除组件是触发组件处理自定义释放逻辑 */
reset() {