/// <summary> /// Fades the CanvasGroup to another alpha over time. /// </summary> static public Tween FadeTo(this CanvasGroup inRenderer, float inAlpha, float inTime) { return(Tween.Create(new TweenData_CanvasGroup_Alpha(inRenderer, inAlpha), inTime)); }
/// <summary> /// Rotates the Transform to look at another Transform over time. /// </summary> static public Tween RotateLookAt(this Transform inTransform, Transform inTarget, TweenSettings inSettings, Axis inAxis = Axis.XYZ) { return(Tween.Create(new TweenData_Transform_LookAtDynamic(inTransform, inTarget, inAxis), inSettings)); }
/// <summary> /// Transforms the Transform to another Transform over time. /// </summary> static public Tween TransformTo(this Transform inTransform, Transform inTarget, TweenSettings inSettings, TransformProperties inProperties = TransformProperties.All, Space inSpace = Space.World) { return(Tween.Create(new TweenData_Transform_Transform(inTransform, inTarget, inSpace, inProperties), inSettings)); }
/// <summary> /// Rotates the Transform to the orientation of another Transform over time. /// </summary> static public Tween RotateTo(this Transform inTransform, Transform inTarget, TweenSettings inSettings, Space inSpace = Space.World) { return(Tween.Create(new TweenData_Transform_RotationDynamic(inTransform, inTarget, inSpace), inSettings)); }
/// <summary> /// Rotates the Transform to another euler orientation over time. /// </summary> static public Tween RotateTo(this Transform inTransform, float inTarget, TweenSettings inSettings, Axis inAxis, Space inSpace = Space.World, AngleMode inMode = AngleMode.Shortest) { return(Tween.Create(new TweenData_Transform_EulerRotationFixed(inTransform, new Vector3(inTarget, inTarget, inTarget), inSpace, inAxis, inMode), inSettings)); }
/// <summary> /// Moves the Transform to the position of another Transform over time. /// </summary> static public Tween MoveTo(this Transform inTransform, Transform inTarget, TweenSettings inSettings, Axis inAxis = Axis.XYZ, Space inSpace = Space.World) { return(Tween.Create(new TweenData_Transform_PositionDynamic(inTransform, inTarget, inSpace, inAxis), inSettings)); }
/// <summary> /// Scales the Transform to the scale of another Transform over time. /// </summary> static public Tween ScaleTo(this Transform inTransform, Transform inTarget, float inTime, Axis inAxis = Axis.XYZ) { return(Tween.Create(new TweenData_Transform_ScaleDynamic(inTransform, inTarget, inAxis), inTime)); }
/// <summary> /// Applies a gradient of colors to the Graphic over time. /// </summary> static public Tween Gradient(this CanvasRenderer inRenderer, Gradient inGradient, TweenSettings inSettings, ColorUpdate inUpdate = ColorUpdate.PreserveAlpha) { return(Tween.Create(new TweenData_CanvasRenderer_Gradient(inRenderer, inGradient, inUpdate), inSettings)); }
/// <summary> /// Fades the Material to another alpha over time. /// </summary> static public Tween FadeTo(this Material inMaterial, float inAlpha, TweenSettings inSettings) { return(Tween.Create(new TweenData_Material_Alpha(inMaterial, inAlpha), inSettings)); }
/// <summary> /// Fades the Graphic to another alpha over time. /// </summary> static public Tween FadeTo(this CanvasRenderer inRenderer, float inAlpha, TweenSettings inSettings) { return(Tween.Create(new TweenData_CanvasRenderer_Alpha(inRenderer, inAlpha), inSettings)); }
/// <summary> /// Fades the Graphic to another color over time. /// </summary> static public Tween ColorTo(this CanvasRenderer inRenderer, Color inTarget, TweenSettings inSettings, ColorUpdate inUpdate = ColorUpdate.PreserveAlpha) { return(Tween.Create(new TweenData_CanvasRenderer_Color(inRenderer, inTarget, inUpdate), inSettings)); }
/// <summary> /// Applies a gradient of colors to the TextMesh over time. /// </summary> static public Tween Gradient(this TextMesh inRenderer, Gradient inGradient, float inTime, ColorUpdate inUpdate = ColorUpdate.PreserveAlpha) { return(Tween.Create(new TweenData_TextMesh_Gradient(inRenderer, inGradient, inUpdate), inTime)); }
/// <summary> /// Fades the TextMesh to another color over time. /// </summary> static public Tween ColorTo(this TextMesh inRenderer, Color inTarget, float inTime, ColorUpdate inUpdate = ColorUpdate.PreserveAlpha) { return(Tween.Create(new TweenData_TextMesh_Color(inRenderer, inTarget, inUpdate), inTime)); }
/// <summary> /// Fades the TextMesh to another alpha over time. /// </summary> static public Tween FadeTo(this TextMesh inRenderer, float inAlpha, TweenSettings inSettings) { return(Tween.Create(new TweenData_TextMesh_Alpha(inRenderer, inAlpha), inSettings)); }
/// <summary> /// Moves the Transform to another position over time. /// </summary> static public Tween MoveTo(this Transform inTransform, Vector3 inTarget, float inTime, Axis inAxis = Axis.XYZ, Space inSpace = Space.World) { return(Tween.Create(new TweenData_Transform_PositionFixed(inTransform, inTarget, inSpace, inAxis), inTime)); }
/// <summary> /// Fades the Material to another color over time. /// </summary> static public Tween ColorTo(this Material inMaterial, Color inTarget, TweenSettings inSettings, ColorUpdate inUpdate = ColorUpdate.PreserveAlpha) { return(Tween.Create(new TweenData_Material_Color(inMaterial, inTarget, inUpdate), inSettings)); }
/// <summary> /// Moves the Transform to another position over time. /// </summary> static public Tween MoveTo(this Transform inTransform, float inPosition, TweenSettings inSettings, Axis inAxis, Space inSpace = Space.World) { return(Tween.Create(new TweenData_Transform_PositionFixed(inTransform, new Vector3(inPosition, inPosition, inPosition), inSpace, inAxis), inSettings)); }
/// <summary> /// Applies a gradient of colors to the Material over time. /// </summary> static public Tween Gradient(this Material inMaterial, Gradient inGradient, TweenSettings inSettings, ColorUpdate inUpdate = ColorUpdate.PreserveAlpha) { return(Tween.Create(new TweenData_Material_Gradient(inMaterial, inGradient, inUpdate), inSettings)); }
/// <summary> /// Scales the Transform to another scale over time. /// </summary> static public Tween ScaleTo(this Transform inTransform, float inTarget, TweenSettings inSettings, Axis inAxis = Axis.XYZ) { return(Tween.Create(new TweenData_Transform_ScaleFixed(inTransform, new Vector3(inTarget, inTarget, inTarget), inAxis), inSettings)); }
/// <summary> /// Changes the FOV of the camera over time. /// </summary> static public Tween FieldOfViewTo(this Camera inCamera, float inTarget, TweenSettings inSettings) { return(Tween.Create(new TweenData_Camera_FOV(inCamera, inTarget), inSettings)); }
/// <summary> /// Rotates the Transform to another orientation over time. /// </summary> static public Tween RotateQuaternionTo(this Transform inTransform, Quaternion inTarget, TweenSettings inSettings, Space inSpace = Space.World) { return(Tween.Create(new TweenData_Transform_RotationFixed(inTransform, inTarget, inSpace), inSettings)); }
/// <summary> /// Fades the Camera to another color over time. /// </summary> static public Tween BackgroundColorTo(this Camera inRenderer, Color inTarget, TweenSettings inSettings) { return(Tween.Create(new TweenData_Camera_Color(inRenderer, inTarget), inSettings)); }
/// <summary> /// Rotates the Transform to another euler orientation over time. /// </summary> static public Tween RotateTo(this Transform inTransform, Vector3 inTarget, float inTime, Axis inAxis = Axis.XYZ, Space inSpace = Space.World, AngleMode inMode = AngleMode.Shortest) { return(Tween.Create(new TweenData_Transform_EulerRotationFixed(inTransform, inTarget, inSpace, inAxis, inMode), inTime)); }
/// <summary> /// Applies a gradient of colors to the Camera over time. /// </summary> static public Tween BackgroundGradient(this Camera inRenderer, Gradient inGradient, float inTime) { return(Tween.Create(new TweenData_Camera_Gradient(inRenderer, inGradient), inTime)); }
/// <summary> /// Rotates the Transform to look at the given point over time. /// </summary> static public Tween RotateLookAt(this Transform inTransform, Vector3 inTarget, float inTime, Axis inAxis = Axis.XYZ) { return(Tween.Create(new TweenData_Transform_LookAtFixed(inTransform, inTarget, inAxis), inTime)); }
/// <summary> /// Applies a gradient of colors to the Camera over time. /// </summary> static public Tween BackgroundGradient(this Camera inRenderer, Gradient inGradient, TweenSettings inSettings) { return(Tween.Create(new TweenData_Camera_Gradient(inRenderer, inGradient), inSettings)); }
/// <summary> /// Transforms the Transform to another Transform over time. /// </summary> static public Tween TransformTo(this Transform inTransform, TransformState inTarget, float inTime, TransformProperties inProperties = TransformProperties.All) { return(Tween.Create(new TweenData_Transform_TransformState(inTransform, inTarget, inProperties), inTime)); }
/// <summary> /// Changes the orthographic size of the camera over time. /// </summary> static public Tween OrthoSizeTo(this Camera inCamera, float inTarget, TweenSettings inSettings) { return(Tween.Create(new TweenData_Camera_OrthographicSize(inCamera, inTarget), inSettings)); }
/// <summary> /// Changes the TimeScale of the RoutineIdentity. /// </summary> static public Tween TimeScaleTo(this RoutineIdentity inIdentity, float inTarget, TweenSettings inSettings) { return(Tween.Create(new TweenData_RoutineIdentity_TimeScale(inIdentity, inTarget), inSettings)); }
/// <summary> /// Fades the SpriteRenderer to another alpha over time. /// </summary> static public Tween FadeTo(this SpriteRenderer inRenderer, float inAlpha, float inTime) { return(Tween.Create(new TweenData_SpriteRenderer_Alpha(inRenderer, inAlpha), inTime)); }