public static TweenOperation AlphaToAsync(this CanvasGroup canvasGroup, AlphaToOptions options) { return(new To <float>(options.alpha).Property( canvasGroup, Properties.canvasGroup.alpha, options.tweenOptions )); }
public static TweenOperation AlphaToAsync(this Graphic graphic, AlphaToOptions options) { return(new To <float>(options.alpha) .Property(graphic, Properties.graphic.color.a, options.tweenOptions)); }