- Home /
Change Speed of Entire Particle System?
Is there a way to change the speed of an entire particle system (and its children) at runtime? I know about ParticleSystem.main.simulationSpeed, but that seems to only affect the parent/root system.
Is there no way to change like the global speed of a particle system and its children without having to do it manually through a for-loop?
Children as in sub-emitters or literal child objects with their own systems? I don't think so in the latter case, as why would one particle system infer that another particle system in a child object should be tracked at all?
If that's your intention and you don't want to write out the iteration each time, then you can just define a suitable speed-editing extension method for the iterable --`ParticleSystem[]` in your case.
Yeah, I want to iterate through the children so I guess that's pretty much the only way to handle it.
I guess I thought the parent/root particle system had some kind of control over the others since they all share playback speed and simulate together when you're testing them in the editor. It's a shame that similar behaviour can't be controlled at runtime.
Your answer
Follow this Question
Related Questions
How to change a simple snow particle FX to generate a speed effect? 1 Answer
Can I slow down a Particle System? - e.g. Slow Motion Effect 1 Answer
How to Slowly Fade Particle System via Script 2 Answers
Particle sorting/layering question 0 Answers
Spawned Particle System in game looks different from prefab 2 Answers