ParticleEffect
Wrapper around a particle effect resource.
For more information about how to create particle effects, have a look at the ParticleEffectManager class.
Note: Particle effects are per-engine, they can thus be shared by multiple scenes.
.maxCount: number
Maximum number of particles.
.destroy() ⇒ void
Destroy and free the particle effect memory.
It is best practice to set the particle effect variable to null after calling
destroy to prevent accidental use:
Accessing the particle effect after destruction behaves like accessing an empty particle effect.