浏览代码

修改代码

lanyunfei 1 天之前
父节点
当前提交
22c0bcc2fe
共有 1 个文件被更改,包括 5 次插入5 次删除
  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) {