ParticlesComp: The particles component.groupComponentssubgroupComponent Types emitter: position: Vec2 Relative position of the emitter direction: number Relative direction of the emitter emit(n: number): void Emit a number of particles onEnd(cb: ()=>void): void Called when the emitter expires
emitter: position: Vec2 Relative position of the emitter direction: number Relative direction of the emitter