This commit is contained in:
2024-12-02 11:03:15 +08:00
parent 3d03394e50
commit 69ec6c93fc
5 changed files with 870 additions and 1770 deletions

View File

@@ -40,22 +40,22 @@ export class CardControllerComp extends CCComp {
}
hh_show(){
this.node.getChildByName("hero_home").setPosition(v3(0,0,0));
this.node.getChildByName("hero_home").active = true;
}
hh_hide(){
this.node.getChildByName("hero_home").setPosition(v3(1000,0,0));
this.node.getChildByName("hero_home").active = false;
}
mh_show(){
this.node.getChildByName("mission_home").setPosition(v3(0,0,0));
this.node.getChildByName("mission_home").active=true;
}
mh_hide(){
this.node.getChildByName("mission_home").setPosition(v3(1000,0,0));
this.node.getChildByName("mission_home").active=false;
}
m_show(){
this.node.getChildByName("mission").setPosition(v3(0,0,0));
this.node.getChildByName("mission").active = true;
}
m_hide(){
this.node.getChildByName("mission").setPosition(v3(1000,0,0));
this.node.getChildByName("mission").active = false;
}
to_mission(){
this.hh_hide()