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)); }
public static ITweenJob TweenColor(this Graphic graphic, Color targetColor, float duration = 1f) { return(TJSystem.Tween(graphic, JObType.Color, targetColor, duration)); }
public static ITweenJob TweenFillAmount(this Image image, float fillAmount, float duration = 1f) { return(TJSystem.Tween((Graphic)image, JObType.FillAmount, fillAmount, duration)); }
public static ITweenJob TweenLocalPosition(this Transform rt, Vector3 targetPosition, float duration = 1f) { return(TJSystem.Tween(rt, JObType.LocalPosition, targetPosition, duration)); }
public static ITweenJob TweenOpacity(this Graphic graphic, float alpha, float duration = 1f) { return(TJSystem.Tween(graphic, JObType.Opacity, alpha, duration)); }
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)); }
public static ITweenJob TweenColor(this Material material, Color targetColor, string property, float duration = 1f) { return(TJSystem.Tween(material, JObType.Color, targetColor, property, duration)); }
public static ITweenJob TweenOffset(this Material material, Vector2 targetOffset, float duration = 1f) { return(TJSystem.Tween(material, JObType.Offset, targetOffset, mainTexture, duration)); }
public static ITweenJob TweenColor(this Material material, Color targetColor, float duration = 1f) { return(TJSystem.Tween(material, JObType.Color, targetColor, mainTexture, duration)); }
public static ITweenJob TweenOpacity(this Material material, float alpha, string property, float duration = 1f) { return(TJSystem.Tween(material, JObType.Opacity, alpha, property, duration)); }
//-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)); }