英雄界面继续完善

This commit is contained in:
panw
2024-12-06 10:49:45 +08:00
parent da7d933c47
commit f47013d062
3 changed files with 4467 additions and 2141 deletions

View File

@@ -26,7 +26,8 @@ export class CardControllerComp extends CCComp {
}
start() {
this.hh_hide()
this.m_hide()
}
show_info(uuid:number,type:number){
@@ -41,11 +42,13 @@ export class CardControllerComp extends CCComp {
}
hh_show(){
let node=this.node.getChildByName("hero_home")
tween(node).to( 0.1,{ position: v3(0,node.position.y)}, ).start();
node.active = true
// tween(node).to( 0.1,{ position: v3(0,node.position.y)}, ).start();
}
hh_hide(){
let node=this.node.getChildByName("hero_home")
tween(node).to( 0.1,{ position: v3(1000,node.position.y)}, ).start();
node.active = false
// tween(node).to( 0.1,{ position: v3(2000,node.position.y)}, ).start();
}
mh_show(){