From 98039f36cae28b3c5f997bf3bf6c5c4e9203e12f Mon Sep 17 00:00:00 2001 From: panw Date: Mon, 28 Jul 2025 17:28:05 +0800 Subject: [PATCH] dd --- assets/script/game/map/MissionComp.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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){