dd
This commit is contained in:
@@ -73,9 +73,11 @@ export class MissionComp extends CCComp {
|
||||
this.next_func=undefined
|
||||
}
|
||||
run_time(){
|
||||
tween(this.node.getChildByName("time")).to(0.2, {scale:v3(1.5,1.5,1.5)}, {easing:"backOut"}).start()
|
||||
tween(this.node.getChildByName("time")).to(0.2, {scale:v3(1,1,1)}, {easing:"backIn"}).start()
|
||||
tween(this.node.getChildByName("time")).to(0.2, {scale:v3(1.5,1.5,1.5)}, {easing:"backOut"}).start()
|
||||
tween(this.node.getChildByName("time"))
|
||||
.to(0.2, {scale:v3(1.5,1.5,1.5)}, {easing:"backOut"})
|
||||
.to(0.2, {scale:v3(1,1,1)}, {easing:"backIn"})
|
||||
.to(0.2, {scale:v3(1.5,1.5,1.5)}, {easing:"backOut"})
|
||||
.start()
|
||||
this.time_num--
|
||||
this.node.getChildByName("time").getChildByName("time").getComponent(Label).string=this.time_num.toString()
|
||||
if(this.time_num<=0){
|
||||
|
||||
Reference in New Issue
Block a user