public static CommandDelegate ChangeFrom(Ref <long> single, long startValue, double duration, CommandEase ease = null) { CheckArgumentNonNull(single, "single"); var reference = ToDoubleRef(single); return(Cmd.Sequence( Cmd.Do(() => reference.Value = (double)single.Value), Cmd.ChangeFrom(reference, (double)startValue, duration, ease) )); }