This commit is contained in:
2024-12-09 10:51:46 +08:00
parent b236c1a4f9
commit 20e2381105
3 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ export class CardControllerComp extends CCComp {
hh_show(){
let node=this.node.getChildByName("hero_home")
node.active = true
// tween(node).to( 0.1,{ position: v3(0,node.position.y)}, ).start();
tween(node).to( 0.1,{ position: v3(0,node.position.y)}, ).start();
}
hh_hide(){
let node=this.node.getChildByName("hero_home")