11-08-2019, 03:07 AM
Is this behavior just part of the specifications?
Or is it a bug?
I created my own Emitter from code, and want to emit only when the user presses a button. I think the docs said that you can set the speed to 0 to turn off the emitter's emission. But when speed is zero, and the EmissionMethod is set to Burst, it shoots particles anyway.
For now, when the user presses a button, instead of changing speed, I change the EmissionMethod to from Stream to Burst, then turn it back to Stream with 0 speed.
Or is it a bug?
I created my own Emitter from code, and want to emit only when the user presses a button. I think the docs said that you can set the speed to 0 to turn off the emitter's emission. But when speed is zero, and the EmissionMethod is set to Burst, it shoots particles anyway.
For now, when the user presses a button, instead of changing speed, I change the EmissionMethod to from Stream to Burst, then turn it back to Stream with 0 speed.