public void SetDuration( float min, float max ) { durationMin = min; durationMax = max; InitDurationRepeat(); }