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