mbrea-c / bevy_firework

🎆 CPU-driven, batch-rendered particle system for the Bevy game engine.
Apache License 2.0
38 stars 6 forks source link

Allow spawning particle systems with an initial disabled state #10

Closed rparrett closed 8 months ago

rparrett commented 8 months ago

I have a particle effect that I would like to turn on/off without removing any live particles.

I don't want the particle system to be active immediately though. I currently find myself having to write a system to disable a particular ParticleSpawnerData immediately after bevy_firework adds it.

mbrea-c commented 8 months ago

Good point, I can add a starts_disabled field to ParticleSpawnerSettings to configure this. Should be a straightforward change, I'll try to make a PR after I'm done with work.