What's New
For information on the new features in v2, please see What's new in v2 in the documentation.
What's Changed
- LitMotion v2.0 by @AnnulusGames in #138
Features
- Add
TryCancel
/TryComplete
by @AnnulusGames in #144 - Add
Time
property andPreserve()
method toMotionHandle
by @AnnulusGames in #146 - Add
MotionSettings
and removeMotionBuilder.Preserve()
by @AnnulusGames in #149 - Add
MotionHandle.Duration
property by @AnnulusGames in #152 - Add
MotionDisposeBehavior
parameter toToDisposable()
by @AnnulusGames in #153 - Add
format
parameter toBindToUnityLogger()
method by @AnnulusGames in #155 - Add: LitMotion.Sequences by @AnnulusGames in #158
- Add new Bind extensions by @AnnulusGames in #162
- Add
WithOnLoopComplete()
andMotionHandle.ComplatedLoops
by @AnnulusGames in #166 - Add: LitMotion Debugger by @AnnulusGames in #168
- Add MotionSequenceBuilder.Schedule(configuration) by @AnnulusGames in #171
- Add LitMotion.Animation package by @AnnulusGames in #172
- Add: new ManualMotionDispatcher by @AnnulusGames in #177
- Add
MotionHandle.None
by @AnnulusGames in #178 - Add:
MotionHandle.Duration
,MotionHandle.Loops
andMotionHandle.Delay
by @AnnulusGames in #184
Changes
- Change async operations by @AnnulusGames in #137
- Change:
BindWithState
->Bind
by @AnnulusGames in #140 - Move bind extensions to LitMotion.Extensions by @AnnulusGames in #142
- Change
LoopType.Yoyo
behavior and addLoopType.Flip
by @AnnulusGames in #145 - Allow negative values for PlaybackSpeed by @AnnulusGames in #147
- Remove managed function pointer support by @AnnulusGames in #150
- Rename: LinkBehaviour -> LinkBehavior by @AnnulusGames in #151
- Rename
ToYieldInteraction()
->ToYieldInstruction()
by @AnnulusGames in #154 - Remove
ManualMotionDispatcher
andIMotionScheduler.Time
by @AnnulusGames in #167 - Add check if motion is in sequence by @AnnulusGames in #169
- Change
WithBindOnSchedule()
->WithImmediateBind()
by @AnnulusGames in #179 - Change LitMotionAnimation API by @AnnulusGames in #181
- Rename animation component events by @AnnulusGames in #183
- Api adjustments by @AnnulusGames in #186
Bug fixes
- Fix: SparseSet by @AnnulusGames in #141
- Fix: UpdateRunner.Reset by @AnnulusGames in #148
- Fix
MotionHandle.Time
behavior by @AnnulusGames in #156 - Fix: burst error by @AnnulusGames in #157
- Fix: duplicate callbacks are registered for PlayerLoop by @AnnulusGames in #159
- Fix Complete and Cancel for Sequences do not work properly by @AnnulusGames in #163
- Fix: Calculate a random number from the hash of the time and seed by @AnnulusGames in #164
- Fix TextMeshPro character motion Complete doesn't work by @AnnulusGames in #165
- Fix: OnLoopComplete is called for the wrong motion by @AnnulusGames in #170
- Fix toggleOnLabelClick does not exist in versions prior to Unity 6 by @AnnulusGames in #176
- Fix: LitMotion Animation inspector by @AnnulusGames in #180
- Fix: no copy is done when allocating the buffer in sequence builder by @AnnulusGames in #182
Improvements
- Update to Unity 6 (6000) by @AnnulusGames in #136
- Refactoring by @AnnulusGames in #139
- Optimize
Bind
methods by @AnnulusGames in #143 - Add return value of
MotionHandle.Preserve()
for method chaining by @AnnulusGames in #160 - Improve MotionSettings by @AnnulusGames in #161
- Refactoring by @AnnulusGames in #175
- Update docs by @AnnulusGames in #185
Full Changelog: v1.9.0...v2.0.0