Skip to content
A simple Unity tweening library for both the UI and ordinary objects.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Editor
example_project
.gitignore
InspectorButton.cs
LICENSE
PropertyHolder.cs
README.md
UpTween.cs
UpTweenAbstractValues.cs
UpTweenDynamicValues.cs
UpTweenMaterialColorValues.cs
UpTweenRectTransformValues.cs
UpTweenTransformValues.cs

README.md

UpTween

A simple Unity tweening library for both the UI and ordinary objects.

alt tag

Features

  • Additive tweening - Instead of setting where to tween an object, you can set how much to tween an object. You can also set absolute, non-relative targets if you wish to.
  • Both UI and non-UI objects - Works with any Unity gameObject that has a transform component.
  • Uses the curve component - Draw any kind of a tween curve you want to.
  • Inspector integration - All values can be set and tweens can be started, stopped and continued via the inspector.
  • Looping, pingpong, etc - All the usual goodies!
  • Clean, straight-forward codebase - Or so I hope.

Use

To install the library, simply place "UpTween.cs" and "InspectorButton.cs" to your project's asset directory. You can then use it by adding "Up Tween" component to your game objects.

You can set "start" and "end" values to either point to another Transformation, or you can leave "end" and "start" targets empty and instead fill in values manually.

To test your tween, start the project and click "Start tween" via the inspector.

And check out the example scene!

Missing features

Currently, at least the following features are missing:

  • Running tweens outside play mode
  • Using mathematical functions instead of manually drawn curves
  • Setting Rect Transform values.
  • Sequencing tween points - only start and end sets are currently in.

License

MIT. For details, see the LICENSE file.

You can’t perform that action at this time.