public static Tweener DoColor(this SpriteRenderer target, Color endColor, float variable) { Tweener t = new SpriteColorTweener(target, endColor, variable); t.DoTween(); return(t); }
public override void Play() { base.Play(); TweenManager.Instance.AddTween(SpriteColorTweener); SpriteColorTweener.DoTween(); }
public override void Play() { base.Play(); SpriteColorTweener.DoTween(); }