Exemplo n.º 1
0
 /// <summary>
 /// Returns a Tween instance that is configured to animate the Transform.localScale property
 /// from the current scale to the desired end scale.
 /// </summary>
 /// <param name="component">The component to be animated</param>
 /// <param name="endScale">The desired end scale</param>
 public static Tween <Vector3> TweenScaleTo(this Component component, Vector3 endScale)
 {
     return(TweenTransformExtensions.TweenScale(component.transform).SetEndValue(endScale));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Returns a Tween instance that is configured to animate a Transform.localScale property
 /// </summary>
 /// <param name="component">The component to be animated</param>
 public static Tween <Vector3> TweenScale(this Component component)
 {
     return(TweenTransformExtensions.TweenScale(component.transform));
 }
Exemplo n.º 3
0
 public static Tween <Vector3> Scale(Transform transform)
 {
     return(TweenTransformExtensions.TweenScale(transform));
 }