diff --git a/assets/script/game/map/MissionComp.ts b/assets/script/game/map/MissionComp.ts index c0e76f32..d6759ab2 100644 --- a/assets/script/game/map/MissionComp.ts +++ b/assets/script/game/map/MissionComp.ts @@ -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){