Getting particles to start emitting before runtime?


I’m making an endless runner which has lava at the bottom of the screen. It has a static character and parallax backgrounds. I have a smoke particle off camera to the right, set to emit in the direction of -X, so a layer of smoke is flowing over the lava the way it should be as you progress from left to right. This looks quite nice, but my problem is that for the first few seconds of the level, there is no smoke.

Is there any way, even through scripting (JS preferred, but C# will do) to make it so that the smoke is already emitting when the level starts?

Thanks in advance.

You have to check Prewarm in the Particle System, it will execute a complete loop of the particle system before starting.
I hope it helps! :slight_smile: