英雄激活后,上阵队伍可选择

This commit is contained in:
2024-12-21 17:29:33 +08:00
parent e6e3db0f80
commit 177bc0e346
16 changed files with 6078 additions and 12 deletions

View File

@@ -82,7 +82,7 @@ export class CardControllerComp extends CCComp {
case "home":
this.node.getChildByName("mission_home").active = true
this.bbg.setPosition(v3(this.bbg_x[2],this.bbg_y))
this.node.getChildByName("mission_home").getComponent(MissionHomeComp).load_hero_card()
this.node.getChildByName("mission_home").getComponent(MissionHomeComp).update_hero_cards()
break;
}
}