Example showing how the core of ZestKit can be used completely outside of the tween library. It can be used to animate anything any way you want in just a few lines of code. The core Zest methods are all available external to the library.
IEnumerator doMoveTween( Vector3 from, Vector3 to, float duration, EaseType easeType )
{
var elapsedTime = 0f;
while( elapsedTime < duration )
{
// either an ease function or an animation curve can be used here
transform.position = Zest.ease( easeType, from, to, elapsedTime, duration );
elapsedTime += Time.deltaTime;
yield return null;
}
}