public void RemoveParticleSound(MyParticleSound particleSound) { int index = m_particleSounds.IndexOf(particleSound); RemoveParticleSound(index); }
public void AddParticleSound(MyParticleSound particleSound) { m_particleSounds.Add(particleSound); if (m_instances != null) { foreach (MyParticleEffect effect in m_instances) { effect.AddParticleSound(particleSound.CreateInstance(effect)); } } }