Skip to content

TweenData Documentation

Lucas Sampaio Dias edited this page Jun 21, 2018 · 23 revisions

There are many things you can do with UniTween. In fact, there are dozens of different TweenDatas and hundreds of possible commands! Below you will find what every command does for the following components:

NOTE: The information about the commands below (except from TextMeshPro, TextMeshProUGUI and PostProcessVolume) is from DOTween's official documentation, as UniTween is based upon it to run. Check it out for more information on their parameters and other technical stuff.

AudioMixer

  • SetFloat: Tweens an AudioMixer's exposed float to the given value. Note that you need to manually expose a float in an AudioMixerGroup in order to be able to tween it from an AudioMixer.

AudioSource

  • Fade: Tweens an AudioSource's volume to the given value.
  • Pitch: Tweens an AudioSource's pitch to the given value.

Camera

  • Aspect:
  • Color:
  • FarClipPlane:
  • FieldOfView:
  • NearClipPlane:
  • OrthoSize:
  • PixelRect:
  • Rect:
  • ShakePosition:
  • ShakeRotation:

CanvasGroup

  • Fade

Graphic

  • Color
  • Fade
  • BlendableColor

Image

  • Color
  • Fade
  • FillAmount
  • GradientColor
  • BlendableColor

LayoutElement

  • FlexibleSize
  • MinSize
  • PreferredSize

Light

  • Color: Changes the light's color to the given one
  • Intensity: Changes the light's intensity to the given one
  • ShadowStrength: Changes the light's shadowStrength to the given one
  • BlendableColor: Tweens the target's color to the given value, in a way that allows other BlendableColor tweens to work together on the same target, instead than fight each other as multiple Color would do.

LineRenderer

  • Color

MeshRenderer

  • Color
  • ColorProperty
  • Fade
  • FadeProperty
  • Float
  • GradientColor
  • GradientColorProperty
  • Offset
  • OffsetProperty
  • Tiling
  • TilingProperty
  • Vector
  • BlendableColor
  • BlendableColorProperty

Outline

  • Color
  • Fade

RectTransform

  • AnchorMax
  • AnchorMin
  • AnchorPos
  • AnchorPosY
  • AnchorPosX
  • JumpAnchorPos
  • Pivot
  • PivotX
  • PivotY
  • PunchAnchorPos
  • ShakeAnchorPos
  • SizeDelta

Rigidbody

  • Move
  • MoveX
  • MoveY
  • MoveZ
  • Jump
  • Rotate
  • LookAt

Rigidbody2D

  • Move
  • MoveX
  • MoveY
  • Jump
  • Rotate

ScrollRect

  • NormalizedPos
  • HorizontalNormalizedPos
  • VerticalPos

Slider

  • Value

SpriteRenderer

  • Color
  • Fade
  • GradientColor
  • BlendableColor

Text

  • Color
  • Fade
  • Text
  • BlendableColor

TrailRenderer

  • Resize
  • Time

Transform

  • Move
  • MoveX
  • MoveY
  • MoveZ
  • LocalMove
  • LocalMoveX
  • LocalMoveY
  • LocalMoveZ
  • Jump
  • LocalJump
  • Rotate
  • RotateQuaternion
  • LocalRotate
  • LocalRotateQuaternion
  • LookAt
  • Scale
  • ScaleX
  • ScaleY
  • ScaleZ
  • PunchPosition
  • PunchRotation
  • PunchScale
  • ShakePosition
  • ShakeRotation
  • ShakeScale
  • Path
  • LocalPath
  • BlendableMoveBy
  • BlendableLocalMoveBy
  • BlendableRotateBy
  • BlendableLocalRotateBy
  • BlendableScaleBy

PostProcessVolume

Post-processing Volume

  • Weigth: ...
  • Priority: ...
  • BlendDistance: ...

Ambient Occlusion

  • Intensity: ...
  • Radius: ...
  • Color: ...

Auto Exposure

  • Filtering: ...
  • MinimumEV: ...
  • MaximumEV: ...
  • ExposureCompensation: ...

Bloom

  • Intensity: ...
  • Threshold: ...
  • SoftKnee: ...
  • Diffusion: ...
  • AnamorphicRatio: ...
  • Color: ...
  • DirtinessIntensity: ...

Chromatic Aberration

  • Intensity: ...

Color Grading

  • Temperature: ...
  • Tint: ...
  • PostExposure: ...
  • ColorFilter: ...
  • Saturation: ...
  • Contrast: ...
  • RedMixerRed: ...
  • RedMixerGreen: ...
  • RedMixerBlue: ...
  • GreenMixerRed: ...
  • GreenMixerGreen: ...
  • GreenMixerBlue: ...
  • BlueMixerRed: ...
  • BlueMixerGreen: ...
  • BlueMixerBlue: ...
  • Lift: ...
  • Gamma: ...
  • Gain: ...

Depth of Field

  • FocusDistance: ...
  • Aperture: ...
  • FocalLength: ...

Grain

  • Intensity: ...
  • Size: ...
  • LuminanceContribution: ...

Lens Distortion

  • Intensity: ...
  • YMultiplier: ...
  • XMultiplier: ...
  • CenterX: ...
  • CenterY: ...
  • Scale: ...

Motion Blur

  • ShutterAngle: ...
  • SampleCount: ...

Screen Space Reflections

  • MaximumMarchDistance: ...
  • DistanceFade: ...
  • Vignette: ...

Vignette

  • Color: ...
  • Intensity: ...
  • Smoothness: ...
  • Roundness: ...
  • Opacity: ...

TextMeshPro

  • Scale: ...
  • Color: ...
  • FaceColor: ...
  • FaceFade: ...
  • Fade: ...
  • FontSize: ...
  • GlowColor: ...
  • MaxVisibleCharacters: ...
  • OutlineColor: ...
  • Text: ...
  • ColorProperty: ...
  • FloatProperty: ...
  • TilingProperty: ...
  • VectorProperty: ...

TextMeshProUGUI

  • Scale: ...
  • Color: ...
  • FaceColor: ...
  • FaceFade: ...
  • Fade: ...
  • FontSize: ...
  • GlowColor: ...
  • MaxVisibleCharacters: ...
  • OutlineColor: ...
  • Text: ...
  • ColorProperty: ...
  • FloatProperty: ...
  • TilingProperty: ...
  • VectorProperty: ...
Clone this wiki locally