Answers for "how to change particle system rate over time unity"

C#
2

how to change particle system rate over time unity

//objectName.GetComponent<ParticleSystem>().emission.rateOverTime = 2.0f;
//This doesn't work, so you need to seperate it into a few lines.
ParticleSystem particleSystem = objectName.GetComponent<ParticleSystem>();
var emission = particleSystem.emission;
emission.rateOverTime = 2.0f;
Posted by: Guest on July-07-2020

Code answers related to "how to change particle system rate over time unity"

C# Answers by Framework

Browse Popular Code Answers by Language