public void Set( object target, string val ) { ParticleEmitter emitter = target as ParticleEmitter; emitter.MaxDuration = StringConverter.ParseFloat( val ); }