diff --git a/src/VFX.cs b/src/VFX.cs index 6913362..857a2f5 100644 --- a/src/VFX.cs +++ b/src/VFX.cs @@ -98,6 +98,18 @@ static class VFX } } } + + for (int i = 0; i < ripples.count; i++) + { + Particle particle = ripples.particles[i]; + particle.state.Step(particle.scl < 1.0); + if (particle.state.state) + { + particle.scl += Time.Stepf; + float val = 1.0f - particle.scl; + particle.col = new Color(val, val, val); + } + } } }