Пример #1
0
 public virtual BaseTweenGroup Add(BaseTween tw)
 {
     // pluck from static group
     Tween.Remove(tw);
     Tweens.Add(tw);
     return this;
 }
Пример #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);
 }
Пример #3
0
 public BaseTweenGroup Remove(BaseTween tw)
 {
     Tweens.Remove(tw);
     return this;
 }
Пример #4
0
 public BaseTweenGroup Unshift(BaseTween tw)
 {
     _durationSum += tw.Duration;
     Tween.Remove(tw);
     Tweens.Insert(0, tw);
     return this;
 }
Пример #5
0
 public override BaseTweenGroup Add(BaseTween tw)
 {
     _durationSum += tw.Duration;
     base.Add(tw);
     return this;
 }
Пример #6
0
 public override BaseTweenGroup Add(BaseTween tw)
 {
     _durationSum = Mathf.Max(_durationSum, tw.Duration);
     return base.Add(tw);
 }
Пример #7
0
 public override BaseTweenGroup Add(BaseTween tw)
 {
     //tw.Curve(null);
     return base.Add(tw);
 }