Skip to content

Commit 428ef70

Browse files
committed
Update package version to 3.0.0
1 parent 2c1633d commit 428ef70

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

CHANGELOG.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,35 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [2.6.2] - 2022/10/16
9-
10-
### Fixed
11-
12-
- Fixed tweens not updating when the duration is set to zero
8+
## [3.0.0] - TBD
139

1410
### Added
1511

16-
- New extension method `ShadowTweens.TweenAlpha`
12+
- Support for creating generic tweens with `short` values
13+
- New extension methods for tweening `MaterialPropertyBlock`
14+
- New extension method `Shadow.TweenAlpha`
15+
- New interface `ITweenEventHandler` that can be used to respond to tween events without allocating GC from delegates
16+
- New utility functions to change color components
1717

1818
### Changed
1919

20-
- Renamed `ShadowTweens.TweenEffectColor` to `ShadowTweens.TweenColor`
21-
- Renamed `ShadowTweens.TweenEffectDistance` to `ShadowTweens.TweenDistance`
20+
- Refactored tween extensions to not use closures to reduce GC allocations
21+
- Source objects are now cached in the tween and passed to the getter/setter functions
22+
- Changed property name casing to match C# conventions
23+
- Renamed `Transform.TweenScale` to `Transform.TweenLocalScale`
24+
- Renamed `Shadow.TweenEffectColor` to `Shadow.TweenColor`
25+
- Renamed `Shadow.TweenEffectDistance` to `Shadow.TweenDistance`
26+
27+
### Fixed
28+
29+
- Fixed tweens not updating when the duration is set to zero
30+
- Fixed interpolation snapping to round to the nearest integer instead of always rounding down
2231

2332
## [2.6.1] - 2022/05/11
2433

2534
### Fixed
2635

27-
- Prevented errors caused when tweens are created while the game or scene is unloading
36+
- Prevented errors when tweens are created while the game or scene is unloading
2837

2938
### Changed
3039

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.zigurous.tweening",
3-
"version": "2.6.2",
3+
"version": "3.0.0",
44
"displayName": "Tweening",
55
"description": "The Tweening package provides a system for tweening object properties in Unity. A tween is an animation of a value from a start position to an end position using an easing function, providing a natural sense of motion.\n\nThe system is lightweight, optimized, type-safe, and memory efficient. Hundreds of predefined tweening functions can be called on many common Unity classes, or you can animate anything using generic tweening functions. Tweens can be controlled with many different control methods and various callback functions.",
66
"unity": "2019.4",

0 commit comments

Comments
 (0)