Пример #1
0
 public ParticleComponent(int size, string name) : base()
 {
     this.particlePool    = ObjectPools.CreateOrGet(() => new T());
     this.activeParticles = new T[size];
     Name = name;
 }