英雄界面继续完善
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user