Released 2021-08-13
See the Animancer v7.0 Upgrade Guide if you're upgrading from a version older than that.
Features
- Added
[ThresholdLabel]attribute to specify a custom display label for theThresholdscolumn of a mixer transition. #104 - Improved the Mixer Transition Drawer:
- Changed the Add button in the Mixer Transition Inspector to duplicate the currently selected row instead of always adding at the end (unless you Right Click). #140
- Added an array size field to the footer.
- The animation fields now only take
AnimationClips by default and you can Ctrl + Click to open the Object Picker for any asset type to assign Transition Assets. Previously it always allowed all asset types (because it can't be constrained to an interface) so the list was annoyingly long. - Child speeds now display an
xsuffix like other speed fields and you can Middle Click to reset them to1(or toggle to-1if they were already at1).
- Added
AttributeCacheto optimize repeated attribute access.
Changes
- Renamed
ManualMixerTransition<TMixer>.StatestoAnimations.
Fixes
- Fixed
AnimancerState.EventDispatcherto properly allow an animation to be restarted by its own End Event. - Fixed End Events to not be re-triggered while the animation is paused (this was happening if there were no other events).
- Fixed
CartesianMixerState.ForceRecalculateWeightsandDirectionalMixerState.ForceRecalculateWeightsto not throw an exception when there is only one child. - Fixed
TransitionDrawerto not allow the root property label to overlap the main property. - Fixed
SerializableEventSequenceDrawerto work properly on array fields. - Fixed
SerializableEventSequenceDrawerto allow callbacks to be added to the End Event even when there are no other callbacks. - Fixed
SerializableEventSequenceDrawerto not indent the prefab modification indicators (the blue lines on the left of the Inspector next to fields that have been modified from the prefab). - Fixed potential
NullReferenceExceptioninPlayableAssetTransition.Drawerwhen the target isnull. - Fixed
UnitsAttributeto not attempt to use its multi-line format unless there are at least two lines worth of space in the given area.