lanyunfei 1 napja%!(EXTRA string=óta)
szülő
commit
22c0bcc2fe
1 módosított fájl, 5 hozzáadás és 5 törlés
  1. 5 5
      assets/script/zuma/FightCore.ts

+ 5 - 5
assets/script/zuma/FightCore.ts

@@ -1278,12 +1278,12 @@ export default class FightCore extends cc.Component {
     @render
     showSpeed() {
         let speed = Data.game.gameSpeed
-        let speedCircle = cc.find('speed_circle', this.speed)
-        speedCircle.active = speed > 1
+        let tip = cc.find('tip', this.speed)
+        tip.active = speed > 1
         //cc.find('tip', this.speed).active = speed > 1
-        if (speedCircle.active) {
-            speedCircle.runAction(cc.rotateBy(1, 360).repeatForever())
-        }
+        // if (speedCircle.active) {
+        //     speedCircle.runAction(cc.rotateBy(1, 360).repeatForever())
+        // }
     }
 
     public setGameTex(url: string, node?: cc.Node, childUrl?: string) {