This
ParticleSystem.EmissionModule em = _particleSystem.emission;
em.rateOverTime = _initialEmission * intensity;
shows me error:
: Do not create your own module instances, get them from a ParticleSystem instance
almost the same code is in a scripting reference. And even more. Almost the same code in other place in my project works perfectly well.
What is wrong? How can I fix it?