public static ITweenJob TweenRotation(this RectTransform rt, Vector2 targetRotation, float duration = 1f)
 {
     return(TJSystem.Tween(rt, JObType.Rotation, targetRotation, duration));
 }
 public static ITweenJob TweenScale(this RectTransform rt, Vector2 targetScale, float duration = 1f)
 {
     return(TJSystem.Tween(rt, JObType.Scale, targetScale, duration));
 }
Пример #3
0
 public static ITweenJob TweenColor(this Graphic graphic, Color targetColor, float duration = 1f)
 {
     return(TJSystem.Tween(graphic, JObType.Color, targetColor, duration));
 }
Пример #4
0
 public static ITweenJob TweenFillAmount(this Image image, float fillAmount, float duration = 1f)
 {
     return(TJSystem.Tween((Graphic)image, JObType.FillAmount, fillAmount, duration));
 }
Пример #5
0
 public static ITweenJob TweenLocalPosition(this Transform rt, Vector3 targetPosition, float duration = 1f)
 {
     return(TJSystem.Tween(rt, JObType.LocalPosition, targetPosition, duration));
 }
Пример #6
0
 public static ITweenJob TweenOpacity(this Graphic graphic, float alpha, float duration = 1f)
 {
     return(TJSystem.Tween(graphic, JObType.Opacity, alpha, duration));
 }
Пример #7
0
 public static ITweenJob TweenOffset(this Material material, Vector2 targetOffset, string property, float duration = 1f)
 {
     return(TJSystem.Tween(material, JObType.Offset, targetOffset, property, duration));
 }
 public static ITweenJob TweenOpacity(this CanvasGroup canvasGroup, float alpha, float duration = 1f)
 {
     return(TJSystem.Tween(canvasGroup, JObType.Opacity, alpha, duration));
 }
Пример #9
0
 public static ITweenJob TweenColor(this Material material, Color targetColor, string property, float duration = 1f)
 {
     return(TJSystem.Tween(material, JObType.Color, targetColor, property, duration));
 }
Пример #10
0
 public static ITweenJob TweenOffset(this Material material, Vector2 targetOffset, float duration = 1f)
 {
     return(TJSystem.Tween(material, JObType.Offset, targetOffset, mainTexture, duration));
 }
Пример #11
0
 public static ITweenJob TweenColor(this Material material, Color targetColor, float duration = 1f)
 {
     return(TJSystem.Tween(material, JObType.Color, targetColor, mainTexture, duration));
 }
Пример #12
0
 public static ITweenJob TweenOpacity(this Material material, float alpha, string property, float duration = 1f)
 {
     return(TJSystem.Tween(material, JObType.Opacity, alpha, property, duration));
 }
Пример #13
0
 //-convention parameters : 0[targetValue] / 1[propertyName] / 2[Duration]
 public static ITweenJob TweenOpacity(this Material material, float alpha, float duration = 1f)
 {
     return(TJSystem.Tween(material, JObType.Opacity, alpha, mainTexture, duration));
 }
 public static ITweenJob TweenColor(this SpriteRenderer spRenderer, Color targetColor, float duration = 1f)
 {
     return(TJSystem.Tween(spRenderer, JObType.Color, targetColor, duration));
 }
 public static ITweenJob TweenOpacity(this SpriteRenderer spRenderer, float alpha, float duration = 1f)
 {
     return(TJSystem.Tween(spRenderer, JObType.Opacity, alpha, duration));
 }