Example #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;
 }
Example #2
0
 public SimpleTweenAction(SimpleTweenSequence sequence, Action <SimpleTweenAction> action) : base(sequence)
 {
     Action = action;
 }