Пример #1
0
 /// <summary>
 /// Add particle type to this particles system.
 /// </summary>
 /// <param name="type">Particle type to add.</param>
 public void AddParticleType(ParticleType type)
 {
     _particles.Add(type);
 }
Пример #2
0
 /// <summary>
 /// Create the new particles system with a base particle type.
 /// </summary>
 /// <param name="type">First particles type in this system.</param>
 public ParticleSystem(ParticleType type) : this()
 {
     AddParticleType(type);
 }