Skip to content

Unity: Custom Animation Interpreter with DoTween

License

Notifications You must be signed in to change notification settings

OocoO/DoTweenClip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DoTweenClip

DoTweenClip is a Unity AnimationClip Custom interpreter, which is designed for - dynamic property & fixblity.

Usage:

Install

  1. Open Test Scene to see the demo
  2. Copy & Paste the source folder into your project.

Play a animation

var tweener = transform.DoAnimationClip(DoTweenClip clip);

This function will do almost the same thing as Animation.Play("animationClipName")

  1. Create a DoTweenClip asset in asset menu.
  2. Drag & Drop AnimationClip to DoTweenClip inspector, to import data to DoTweenClip
  3. At runtime, load your newDoTweenClip & change some property in DoTweenClipCurve (optional) then play.

Feature:

  1. full control animation: set all object properties by your self.

  2. direct animationCurve access (see DoTweenClipCurve.cs)

  3. Editor Custom AnimationProperty Rebinder : Change Animation Property Reference at editor time. (see DoTweenClipBinderEditor.cs)

  4. Editor DoTweenClip Preview

  5. (Under Test) Runtime DoTweenClipCurve to Native Animation

About

Unity: Custom Animation Interpreter with DoTween

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages