- Home /
Change shuriken emission rate
I'm looking for a way to change the emission time rate for the particles that's different from the standard 1 second - 2.5 seconds to be exact. Is there any way I can do this directly or do I have to find a (possibly difficult) workaround?
P.S. I'm also curious to know if it's possible to increase the speed of all particles as time progresses.
Answer by psantoki · May 28, 2014 at 06:16 PM
Unity hides the droids you're looking for
Click the Emission bar
Although I found the answer to this about a week later after posting, thanks anyway.
Answer by GTX Titan · Feb 02, 2014 at 08:34 AM
A little script should help:
private var particle:GameObject;
function Start(){
particle = GameObject.Find("Your particle system");
}
function changeParticleEmission(){
particle.particleSystem.emissionRate = 0.4;
}
Haven't tested if it takes float values, but was this what you needed?
I've found the solution, apparently the emission rate graph is a percentage of the Duration. Thanks for the help anyway. I feel so stupid... :P
Your answer
Follow this Question
Related Questions
Rewind particle system (shuriken) 3 Answers
How long does it take for the AppStore to review an app? 1 Answer
how to stop object before GO writes 1 Answer
Starting and stopping Coroutines 1 Answer
Breathing sound effect using timers 1 Answer