示例#1
0
 public void RemoveParticleLight(MyParticleLight particleLight)
 {
     int index = m_particleLights.IndexOf(particleLight);
     RemoveParticleLight(index);
 }
示例#2
0
        public void AddParticleLight(MyParticleLight particleLight)
        {
            m_particleLights.Add(particleLight);

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