Ejemplo n.º 1
0
 public SimpleTweener(SimpleTweenSequence sequence,
                      TweenFunctionDelegate tweenFunction,
                      float duration,
                      T fromValue = default(T),
                      T toValue   = default(T)) : base(sequence)
 {
     TweenFunction = tweenFunction;
     Duration      = duration;
     FromValue     = fromValue;
     ToValue       = toValue;
 }
Ejemplo n.º 2
0
 public SimpleTweener(TweenFunctionDelegate tweenFunction,
                      T fromValue = default(T),
                      T toValue   = default(T)) : this(null, tweenFunction, fromValue, toValue)
 {
 }