/// <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));
 }
Exemplo n.º 2
0
 /// <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));
 }
Exemplo n.º 3
0
 /// <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));
 }
Exemplo n.º 4
0
 /// <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));
 }
Exemplo n.º 5
0
 /// <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));
 }
Exemplo n.º 6
0
 /// <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));
 }
Exemplo n.º 7
0
 /// <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));
 }
Exemplo n.º 9
0
 /// <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));
 }
Exemplo n.º 15
0
 /// <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));
 }
Exemplo n.º 16
0
 /// <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));
 }
Exemplo n.º 17
0
 /// <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));
 }
Exemplo n.º 18
0
 /// <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));
 }
Exemplo n.º 19
0
 /// <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));
 }
Exemplo n.º 20
0
 /// <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));
 }
Exemplo n.º 21
0
 /// <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));
 }
Exemplo n.º 22
0
 /// <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));
 }
Exemplo n.º 23
0
 /// <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));
 }
Exemplo n.º 24
0
 /// <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));
 }
Exemplo n.º 25
0
 /// <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));
 }
Exemplo n.º 26
0
 /// <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));
 }
Exemplo n.º 27
0
 /// <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));
 }
Exemplo n.º 28
0
 /// <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));
 }
Exemplo n.º 29
0
 /// <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));
 }