界面调整 去掉技能大页面
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user