示例#1
0
 public void RemoveParticleSound(MyParticleSound particleSound)
 {
     int index = m_particleSounds.IndexOf(particleSound);
     RemoveParticleSound(index);
 }
示例#2
0
        public void AddParticleSound(MyParticleSound particleSound)
        {
            m_particleSounds.Add(particleSound);

            if (m_instances != null)
            {
                foreach (MyParticleEffect effect in m_instances)
                {
                    effect.AddParticleSound(particleSound.CreateInstance(effect));
                }
            }
        }