Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@adamgraham adamgraham released this 22 Oct 05:31

Added

  • Support for creating generic tweens with short values
  • New extension methods for tweening MaterialPropertyBlock
  • New extension method Shadow.TweenAlpha
  • New interface ITweenEventHandler that can be used to respond to tween events without allocating GC from delegates
  • New utility functions to change color components

Changed

  • Refactored tween extensions to not use closures to reduce GC allocations
    • Source objects are now cached in the tween and passed to the getter/setter functions
  • Changed property name casing to match C# conventions
  • Renamed Transform.TweenScale to Transform.TweenLocalScale
  • Renamed Shadow.TweenEffectColor to Shadow.TweenColor
  • Renamed Shadow.TweenEffectDistance to Shadow.TweenDistance

Fixed

  • Fixed tweens not updating when the duration is set to zero
  • Fixed interpolation snapping to round to the nearest integer instead of always rounding down