瀏覽代碼

onStormReset

woso_javan 2 月之前
父節點
當前提交
225adb71fe
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      assets/module_storm_sunder/Script/Component/TornadoComponent.ts

+ 2 - 0
assets/module_storm_sunder/Script/Component/TornadoComponent.ts

@@ -340,6 +340,8 @@ export class TornadoComponent extends Component {
         if (!this.particleSystem) return;
         this.particleSystem.startSizeX.constantMax = 1;
         this.particleSystem.startLifetime.constantMax = 0.6;
+        this.currentLv = 1;
+        this.tigger.size = new Vec3(1.3, 2.5, 1.4);
     }
 
     //变大体积