Skip to content

Commit

Permalink
Allow particle animation while in High Warp
Browse files Browse the repository at this point in the history
  • Loading branch information
sarbian committed Sep 25, 2019
1 parent fa3c319 commit fe5ed9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModelMultiShurikenPersistFX.cs
Expand Up @@ -111,7 +111,7 @@ public class ModelMultiShurikenPersistFX : EffectBehaviour
// On FixedUpdate, the Time.deltaTime is always 0.02, regardless of how much time actually passed from last frame draw.
// On LateUpdate, the Time.deltaTime is the actual time from last draw, so decluster can predict last particle's position a lot better
[Persistent] public bool emitOnUpdate = false;
private bool EmitOnUpdate => emitOnUpdate || SmokeScreenConfig.Instance.forceEmitOnUpdate;
private bool EmitOnUpdate => emitOnUpdate || SmokeScreenConfig.Instance.forceEmitOnUpdate || TimeWarp.WarpMode == TimeWarp.Modes.HIGH;

[Persistent]
public int particleCountLimit = 1000;
Expand Down

0 comments on commit fe5ed9f

Please sign in to comment.