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