소스 검색

cow 播放fun 龙卷风扩大粒子体积调整

woso_javan 2 달 전
부모
커밋
d10102b215
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      assets/module_storm_sunder/Prefabs/Props/cow.prefab
  2. 2 2
      assets/module_storm_sunder/Script/Component/TornadoComponent.ts

+ 1 - 1
assets/module_storm_sunder/Prefabs/Props/cow.prefab

@@ -299,7 +299,7 @@
       "_defaultClip"
     ],
     "value": {
-      "__uuid__": "b0313ef4-fc61-4ba0-b3dc-755a5e9539a9@1f586",
+      "__uuid__": "b0313ef4-fc61-4ba0-b3dc-755a5e9539a9@85142",
       "__expectedType__": "cc.AnimationClip"
     }
   },

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

@@ -351,8 +351,8 @@ export class TornadoComponent extends Component {
         const percentage = growMultiple / 100;
         const growSize = baseSize + (1 + this.currentLv * percentage);
         // this.node.setScale(growSize, growSize, growSize);
-        this.particleSystem.startSizeX.constantMax += 1;
-        this.particleSystem.startLifetime.constantMax += 0.2;
+        this.particleSystem.startSizeX.constantMax += 0.5;
+        this.particleSystem.startLifetime.constantMax += 0.1;
 
         this.onGambitEffect();
         // console.log('growSize:', growSize);