public void RemoveParticleLight(MyParticleLight particleLight) { int index = m_particleLights.IndexOf(particleLight); RemoveParticleLight(index); }
public void AddParticleLight(MyParticleLight particleLight) { m_particleLights.Add(particleLight); if (m_instances != null) { foreach (MyParticleEffect effect in m_instances) { effect.AddParticleLight(particleLight.CreateInstance(effect)); } } }