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.

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

CanvasGroup

Graphic

Image

LayoutElement

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

MeshRenderer

Outline

RectTransform

Rigidbody

Rigidbody2D

ScrollRect

Slider

SpriteRenderer

Text

TrailRenderer

Transform

PostProcessVolume

TextMeshPro

TextMeshProUGUI

Clone this wiki locally