Supported Types
⚡ Generics
When creating tweens using the generic functions, the following types of values can be animated:
float
double
int
long
short
Vector2
Vector2Int
Vector3
Vector3Int
Vector4
Quaternion
Rect
Color
💠 Shortcuts
All of the following types offer shortcut functions for creating tweens:
AimConstraint
AnchoredJoint2D
Animator
AreaEffector2D
AspectRatioFitter
AudioChorusFilter
AudioDistortionFilter
AudioEchoFilter
AudioHighPassFilter
AudioListener
AudioLowPassFilter
AudioReverbFilter
AudioReverbZone
AudioSource
BoxCollider
BoxCollider2D
BuoyancyEffector2D
Camera
Canvas
CanvasGroup
CanvasScaler
CapsuleCollider
CapsuleCollider2D
CharacterController
CharacterJoint
CircleCollider2D
Cloth
Collider
Collider2D
CompositeCollider2D
ConfigurableJoint
ConstantForce
ConstantForce2D
DistanceJoint2D
EdgeCollider2D
FixedJoint2D
FrictionJoint2D
Graphic
Grid
GridLayoutGroup
HorizontalOrVerticalLayoutGroup
Joint
Joint2D
LensFlare
Light
LineRenderer
LookAtConstraint
Material
MaterialPropertyBlock
NavMeshAgent
NavMeshObstacle
OcclusionArea
ParentConstraint
ParticleSystem
ParticleSystemForceField
PhysicMaterial
PhysicsMaterial2D
PlatformEffector2D
PointEffector2D
PositionConstraint
Projector
RectMask2D
RectOffset
RectTransform
ReflectionProbe
RelativeJoint2D
Rigidbody
Rigidbody2D
RotationConstraint
ScaleConstraint
Scrollbar
ScrollRect
Shadow
Slider
SphereCollider
SpringJoint
SpringJoint2D
SpriteMask
SpriteRenderer
SpriteShapeRenderer
SurfaceEffector2D
TargetJoint2D
Text
TextMesh
Tilemap
TrailRenderer
Transform
VideoPlayer
WheelCollider
WindZone