How to use particleEmitter.Simulate()?

Hello!

I try to use this new cool feature for particles, but with no luck…

void Start()
{
   particleEmitter.Simulate(10f);

}

What’s the right way to use it?

It seams to not like bigger numbers. It probably needs to be filed as a bug…

In the mean time, if you need 10 seconds worth try something like:

IEnumerator Start() {
   for ( int i = 0; i < 10; i++ ) {
      particleEmitter.Simulate(1.0f);
      yield return 0;
   }
}