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