Skip to content

AnnulusGames/TweenPlayables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tween Playables

Tween Animation Library for Unity Timeline

license

日本語版READMEはこちら

Overview

Tween Playables is a library that adds tween animation tracks to Unity Timeline. It adds tracks for a variety of components, making it possible to quickly and easily build complex tweens in your timeline.

Features

  • Add tracks for tween animation
  • More than 20 types of easing functions available
  • All clips can be blended
  • Simple and easy to use GUI

Setup

Requirement

  • Unity 2020.1 or higher
  • Timeline 1.2.14 or higher
  • TextMeshPro 2.0.1 or higher

Install

  1. Open the Package Manager from Window > Package Manager
  2. "+" button > Add package from git URL
  3. Enter the following to install

or open Packages/manifest.json and add the following to the dependencies block.

{
    "dependencies": {
        "com.annulusgames.tween-playables": "https://github.com/AnnulusGames/TweenPlayables.git?path=/Assets/TweenPlayables"
    }
}

Usage

  1. Select "AnnulusGames.TweenPlayables" item from the "+" button and add a track corresponding to the component you want to control.
  2. Right click > Select "Add Tween *** Clip" to add the clip to the track.
  3. Set the clip values from the Inspector.

Parameter Settings

Toggle

Whether to control that parameter. If checked, animation for that parameter will be enabled.

Start / End

Sets the start/end value of the animation.

Ease

Set the easing function. You can also set your own easing from the Animation Curve by selecting "Custom".

Relative

Whether to use relative values. If checked, the start/end values will be relative values from the start of the animation.

Controllable Components

Conponent Parameter
Transform Position
Rotation
Scale
Renderer Color
Texture Offset
Texture Scale
Sprite Renderer Color
Line Renderer Start Color
End Color
Start Width
End Width
Camera Orthographic Size
Field of View
Background Color
Audio Source Volume
Pitch
Light Color
Intensity
Shadow Strength
RectTransform Anchored Position
Size Delta
Rotation
Scale
Canvas Group Alpha
Graphic Color
Text Color
Font Size
Line Spacing
TextMeshProUGUI Font Size
Color
Color Gradient
Spacing (Character, Line, Word, Paragraph)
Image Color
Fill Amount
Slider Value
Outline Color
Distance
Shadow Color
Distance

Known Issues

Error "DrivenPropertyManager has failed to~"

Some components may produce an error "DrivenPropertyManager has failed to register property "PropertyName" of object "Object Name" with driver "" because the property doesn't exist."

This error is due to the behavior of the DrivenPropertyManager and does not occur at runtime. Since it is an error related to property registration to the last, it does not seem to have a big impact on the project.

A thread related to this issue can be found here. https://forum.unity.com/threads/default-playables-text-switcher-track-error.502903/

License

MIT License