Check out example codes for "how to change particle system rate over time unity". It will help you in understanding the concepts better.
Code Example 1
//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;
Learn ReactJs, React Native from akashmittal.com