Beispiel #1
0
 public virtual BaseTweenGroup Add(BaseTween tw)
 {
     // pluck from static group
     Tween.Remove(tw);
     Tweens.Add(tw);
     return this;
 }
Beispiel #2
0
 static public float fadeInOut(float f, float intime, BaseTween.EasingFunction inf, float outtime, BaseTween.EasingFunction outf)
 {
     return fadeInOut(f, intime, inf != null ? inf.ToCurve() : null, outtime, outf != null ? outf.ToCurve() : null);
 }
Beispiel #3
0
 public BaseTweenGroup Remove(BaseTween tw)
 {
     Tweens.Remove(tw);
     return this;
 }
Beispiel #4
0
 public BaseTweenGroup Unshift(BaseTween tw)
 {
     _durationSum += tw.Duration;
     Tween.Remove(tw);
     Tweens.Insert(0, tw);
     return this;
 }
Beispiel #5
0
 public override BaseTweenGroup Add(BaseTween tw)
 {
     _durationSum += tw.Duration;
     base.Add(tw);
     return this;
 }
Beispiel #6
0
 public override BaseTweenGroup Add(BaseTween tw)
 {
     _durationSum = Mathf.Max(_durationSum, tw.Duration);
     return base.Add(tw);
 }
Beispiel #7
0
 public override BaseTweenGroup Add(BaseTween tw)
 {
     //tw.Curve(null);
     return base.Add(tw);
 }