界面调整 去掉技能大页面

This commit is contained in:
panw
2024-12-18 15:58:44 +08:00
parent e7f5b44b1e
commit 25b8e384e7
16 changed files with 11112 additions and 7725 deletions

View File

@@ -50,7 +50,7 @@ export class CardControllerComp extends CCComp {
this.node.getChildByName("hero_home").active = false;
this.node.getChildByName("shop_home").active = false;
this.node.getChildByName("battle_home").active = false;
this.node.getChildByName("skill_home").active = false;
this.node.getChildByName("luck_home").active = false;
this.node.getChildByName("mission").active = false;
}
@@ -62,7 +62,7 @@ export class CardControllerComp extends CCComp {
this.node.getChildByName("mission_home").active = false
this.node.getChildByName("shop_home").active = false
this.node.getChildByName("battle_home").active = false
this.node.getChildByName("skill_home").active = false
this.node.getChildByName("luck_home").active = false
switch(args){
case "hero":
this.node.getChildByName("hero_home").active = true
@@ -76,8 +76,8 @@ export class CardControllerComp extends CCComp {
// this.node.getChildByName("battle_home").active = true
// this.bbg.setPosition(v3(this.bbg_x[4],this.bbg_y))
break;
case "skill":
this.node.getChildByName("skill_home").active = true
case "luck":
this.node.getChildByName("luck_home").active = true
this.bbg.setPosition(v3(this.bbg_x[3],this.bbg_y))
break;
case "home":