Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions R2API.Animations/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public static int IndexOf<T>(this IEnumerable<T> values, Func<T, bool> predicate
{
return i;
}

i++;
}

return -1;
Expand Down
3 changes: 3 additions & 0 deletions R2API.Animations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ To create `Modified Controller` use option `Assets/R2API/Animation/Copy Animator
After that you add the `AnimatorDiff` to an `AssetBundle` and in code you can create an instance of `AnimatorModifications` with `AnimatorModifications.CreateFromDiff()`.

## Changelog
### '1.2.2'
* Fixed an issue where modifying a layer that has behaviours would result in an error.

### '1.2.1'
* Fixed `AnimatorDiff` incorrectly diffing parameters in the editor.

Expand Down
2 changes: 1 addition & 1 deletion R2API.Animations/thunderstore.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ schemaVersion = "0.0.1"
[package]
namespace = "RiskofThunder"
name = "R2API_Animations"
versionNumber = "1.2.1"
versionNumber = "1.2.2"
description = "API for modifying RuntimeAnimatorController"
websiteUrl = "https://github.com/risk-of-thunder/R2API"
containsNsfwContent = false
Expand Down
Loading