Skip to content

Milease 2.0.0

Latest
Compare
Choose a tag to compare
@buger404 buger404 released this 12 Jan 13:15
· 12 commits to master since this release

Highlights

New Feature: Instant Animator DSL (d5e8f90)
The new version remains compatible with the previous animation definition method but offers the following advantages:

  • Clearer representation of animation start time and duration.
  • No need to skip multiple optional parameters when specifying an easing function, as required in the previous version.
  • Enhanced type safety: the previous method lacked type checks for start and end values.
  • Avoids the use of member name strings, improving maintainability.

Time Source Refactor

Animations now use Time.unscaledDeltaTime by default instead of Time.deltaTime. However, you can still change the time source via Animator.SetTimeSource() if needed. (44566b0, 759b6ef)

Bug Fixes

  • Fixed an issue where reused animators in "To" mode exhibited abnormal behavior. (60c97e0)
  • Resolved a bug causing animation anomalies when transitioning colors in "To" mode. (6afd114)

Other Updates

  • We’ve identified potential issues with inline easing functions in certain projects. Inline easing is now disabled by default. You can enable it by defining the symbol MILEASE_AGGRESSIVE_INLINING_EASING_FUNCTION. (53fd8b0)