Question by
alvola · Feb 20, 2016 at 09:19 PM ·
particlesystememission5.3rate
change emission rate of particles in update -> Unity 5.3
Hi, I have a variable that modifies the emission rate in Update and now in 5.3 I don't know how to do the same. I have now:
public ParticleSystem shipAfterburner private ParticleSystem.EmissionModule em_shipAfterburner;
public void Update(){ em_shipAfterburner.enabled = true; em_shipAfterburner.rate = ???? }
BEFORE:
public void Update(){ shipAfterburner.emissionRate = shipEmissionRate; }
Thanks
Comment
Your answer
Follow this Question
Related Questions
How to set particle emission rate at run time? 2 Answers
Cannot Change emission.rate 3 Answers
ParticleSystem emission rate is incomprehensible. 0 Answers
Low particle emission rate 1 Answer