public void Update(Particle p)
 {
     //Only update if the particle lifetime is within the begin and end times
     if (p.RealLifeTime >= startTime && p.RealLifeTime <= endTime)
     {
         p.LifeTime = (p.RealLifeTime - startTime) / length;
         //Update the modifier
         modifier.Update(p);
         //Reset the lifetime
         p.LifeTime = p.RealLifeTime;
     }
 }