英雄页面基本完成,todo 完善 数据显示

This commit is contained in:
2024-12-05 16:51:06 +08:00
parent f79ee64c23
commit a554c3dc0a
6 changed files with 1473 additions and 859 deletions

View File

@@ -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;
}