英雄页面基本完成,todo 完善 数据显示
This commit is contained in:
@@ -40,11 +40,14 @@ export class CardControllerComp extends CCComp {
|
||||
|
||||
}
|
||||
hh_show(){
|
||||
this.node.getChildByName("hero_home").active = true;
|
||||
let node=this.node.getChildByName("hero_home")
|
||||
tween(node).to( 0.1,{ position: v3(0,node.position.y)}, ).start();
|
||||
}
|
||||
hh_hide(){
|
||||
this.node.getChildByName("hero_home").active = false;
|
||||
let node=this.node.getChildByName("hero_home")
|
||||
tween(node).to( 0.1,{ position: v3(1000,node.position.y)}, ).start();
|
||||
}
|
||||
|
||||
mh_show(){
|
||||
this.node.getChildByName("mission_home").active=true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user