Exemple #1
0
 public static TweenableAlphaMultipliedGraphics AddAlphaTween(this TweenableAlphaMultipliedGraphics tweenableGraphics, float to)
 {
     tweenableGraphics.Holder.AddTween(new AlphaTween(tweenableGraphics.Graphics, tweenableGraphics.Graphics[0].Graphic.color.a / tweenableGraphics.Graphics[0].AlphaMultiplier, to)).Play();
     return(tweenableGraphics);
 }
Exemple #2
0
 public static TweenableAlphaMultipliedGraphics AddAlphaTween(this TweenableAlphaMultipliedGraphics tweenableGraphics, float from, float to)
 {
     tweenableGraphics.Holder.AddTween(new AlphaTween(tweenableGraphics.Graphics, from, to)).Play();
     return(tweenableGraphics);
 }
 public static TweenableAlphaMultipliedGraphics AddIncrementalAnchoredPositionTween(this TweenableAlphaMultipliedGraphics tweenableGraphics, Vector2 to)
 {
     tweenableGraphics.Holder.AddTween(new IncrementalAnchoredPositionTween(tweenableGraphics.RootRectTransform, to)).Play();
     return(tweenableGraphics);
 }