public void Set(object target, string val) { DrawEmitter emitter = target as DrawEmitter; emitter.Distance = StringConverter.ParseFloat(val); }
public string Get(object target) { DrawEmitter emitter = target as DrawEmitter; return(StringConverter.ToString(emitter.Distance)); }