Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
easing uses start/diff, lerp uses start/end
What was meant for tick() is probably var easedTime = _easeFunction( totalElapsedTime, 0, 1, _ownerTween.duration ); var value = Mathf.Lerp( _startValue, _startValue + _diffValue, easedTime ); but the equivalent form var easedValue = _easeFunction( totalElapsedTime, _startValue, _diffValue, _ownerTween.duration ); is used elsewhere (FloatTweenProperty), and more succinct.
- Loading branch information