-
Notifications
You must be signed in to change notification settings - Fork 12
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:
- AudioMixer
- AudioSource
- Camera
- CanvasGroup
- Graphic
- Image
- LayoutElement
- Light
- LineRenderer
- MeshRenderer
- Outline
- RectTransform
- Rigidbody
- Rigidbody2D
- ScrollRect
- Slider
- SpriteRenderer
- Text
- TrailRenderer
- Transform
- PostProcessVolume (Extension)
- TextMeshPro (Extension)
- TextMeshProUGUI (Extension)
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.
- 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.
- Fade: Tweens an AudioSource's volume to the given value.
- Pitch: Tweens an AudioSource's pitch to the given value.
- Aspect:
- Color:
- FarClipPlane:
- FieldOfView:
- NearClipPlane:
- OrthoSize:
- PixelRect:
- Rect:
- ShakePosition:
- ShakeRotation:
- Fade
- Color
- Fade
- BlendableColor
- Color
- Fade
- FillAmount
- GradientColor
- BlendableColor
- FlexibleSize
- MinSize
- PreferredSize
- 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.
- Color
- Color
- ColorProperty
- Fade
- FadeProperty
- Float
- GradientColor
- GradientColorProperty
- Offset
- OffsetProperty
- Tiling
- TilingProperty
- Vector
- BlendableColor
- BlendableColorProperty
- Color
- Fade
- AnchorMax
- AnchorMin
- AnchorPos
- AnchorPosY
- AnchorPosX
- JumpAnchorPos
- Pivot
- PivotX
- PivotY
- PunchAnchorPos
- ShakeAnchorPos
- SizeDelta
- Move
- MoveX
- MoveY
- MoveZ
- Jump
- Rotate
- LookAt
- Move
- MoveX
- MoveY
- Jump
- Rotate
- NormalizedPos
- HorizontalNormalizedPos
- VerticalPos
- Value
- Color
- Fade
- GradientColor
- BlendableColor
- Color
- Fade
- Text
- BlendableColor
- Resize
- Time
- 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
- Weigth: ...
- Priority: ...
- BlendDistance: ...
- Intensity: ...
- Radius: ...
- Color: ...
- Filtering: ...
- MinimumEV: ...
- MaximumEV: ...
- ExposureCompensation: ...
- Intensity: ...
- Threshold: ...
- SoftKnee: ...
- Diffusion: ...
- AnamorphicRatio: ...
- Color: ...
- DirtinessIntensity: ...
- Intensity: ...
- Temperature: ...
- Tint: ...
- PostExposure: ...
- ColorFilter: ...
- Saturation: ...
- Contrast: ...
- RedMixerRed: ...
- RedMixerGreen: ...
- RedMixerBlue: ...
- GreenMixerRed: ...
- GreenMixerGreen: ...
- GreenMixerBlue: ...
- BlueMixerRed: ...
- BlueMixerGreen: ...
- BlueMixerBlue: ...
- Lift: ...
- Gamma: ...
- Gain: ...
- FocusDistance: ...
- Aperture: ...
- FocalLength: ...
- Intensity: ...
- Size: ...
- LuminanceContribution: ...
- Intensity: ...
- YMultiplier: ...
- XMultiplier: ...
- CenterX: ...
- CenterY: ...
- Scale: ...
- ShutterAngle: ...
- SampleCount: ...
- MaximumMarchDistance: ...
- DistanceFade: ...
- Vignette: ...
- Color: ...
- Intensity: ...
- Smoothness: ...
- Roundness: ...
- Opacity: ...
- Scale: ...
- Color: ...
- FaceColor: ...
- FaceFade: ...
- Fade: ...
- FontSize: ...
- GlowColor: ...
- MaxVisibleCharacters: ...
- OutlineColor: ...
- Text: ...
- ColorProperty: ...
- FloatProperty: ...
- TilingProperty: ...
- VectorProperty: ...
- Scale: ...
- Color: ...
- FaceColor: ...
- FaceFade: ...
- Fade: ...
- FontSize: ...
- GlowColor: ...
- MaxVisibleCharacters: ...
- OutlineColor: ...
- Text: ...
- ColorProperty: ...
- FloatProperty: ...
- TilingProperty: ...
- VectorProperty: ...