Exemplo n.º 1
0
 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);          
 }
Exemplo n.º 2
0
            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));
            }
Exemplo n.º 3
0
            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));
            }