DoTweenClip is a Unity AnimationClip Custom interpreter, which is designed for - dynamic property & fixblity.
- Open Test Scene to see the demo
- Copy & Paste the source folder into your project.
var tweener = transform.DoAnimationClip(DoTweenClip clip);
This function will do almost the same thing as Animation.Play("animationClipName")
- Create a DoTweenClip asset in asset menu.
- Drag & Drop AnimationClip to DoTweenClip inspector, to import data to DoTweenClip
- At runtime, load your newDoTweenClip & change some property in DoTweenClipCurve (optional) then play.
-
full control animation: set all object properties by your self.
-
direct animationCurve access (see DoTweenClipCurve.cs)
-
Editor Custom AnimationProperty Rebinder : Change Animation Property Reference at editor time. (see DoTweenClipBinderEditor.cs)
-
Editor DoTweenClip Preview
-
(Under Test) Runtime DoTweenClipCurve to Native Animation