public static TweenableGraphics AddAlphaTween(this TweenableGraphics tweenableGraphics, float from, float to) { tweenableGraphics.Holder.AddTween(new AlphaTween(tweenableGraphics.Graphics, from, to)).Play(); return(tweenableGraphics); }
public static TweenableGraphics AddIncrementalAnchoredPositionTween(this TweenableGraphics tweenableGraphics, Vector2 to) { tweenableGraphics.Holder.AddTween(new IncrementalAnchoredPositionTween(tweenableGraphics.RootRectTransform, to)).Play(); return(tweenableGraphics); }