David Catuhe 5 лет назад
Родитель
Сommit
eb97933a3d
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/Particles/particle.ts

+ 1 - 0
src/Particles/particle.ts

@@ -213,6 +213,7 @@ export class Particle {
     /** @hidden */
     public _reset() {
         this.age = 0;
+        this.id = Particle._Count++; 
         this._currentColorGradient = null;
         this._currentSizeGradient = null;
         this._currentAngularSpeedGradient = null;