Example #1
0
 public void Duplicate(MyParticleEmitter targetEmitter)
 {
     for (int i = 0; i < m_properties.Length; i++)
     {
         targetEmitter.m_properties[i] = m_properties[i].Duplicate();
     }
 }
Example #2
0
 public void CreateInstance(MyParticleEmitter emitter)
 {
     for (int i = 0; i < m_properties.Length; i++)
     {
         m_properties[i] = emitter.m_properties[i];
     }
 }
        //////////////////////////////

        #endregion

        #region Constructor & Init

        public MyParticleGeneration()
        {
            m_emitter = new MyParticleEmitter(MyParticleEmitterType.Point);
        }