继续
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user