init method

  1. @override
void init()
override

Called when this behaviour should be initialized

After calling this method any call to isInitialized should return true.

Implementation

@override
void init() {
  particles = generateParticles(options.particleCount);
}