public static TweenOperation Prepare(TObject target,PropertyAccesser<TObject,TValue> property, TValue from,TweenOptions options){ var state = new State(){ from = from, target = target, property = property }; return TweenAction<State>.Prepare(state,options); }
public static TweenOperation Prepare(object target, IPropertyAccesser <TValue> property, TValue to, TweenOptions options) { var state = new State() { to = to, target = target, property = property }; return(TweenAction <State> .Prepare(state, options)); }
public static TweenOperation Prepare(TValue from, TValue to, InterpolationUpdate <TValue, TContext> onUpdate, TContext context, TweenOptions options) { var state = new State() { from = from, to = to, onUpdate = onUpdate, context = context, }; return(TweenAction <State> .Prepare(state, options)); }