Some mods may be broken due to the recent Alloyed Collective update.
R2API Animations
API for modifying RuntimeAnimatorController
| Date uploaded | 10 months ago |
| Version | 1.1.0 |
| Download link | RiskofThunder-R2API_Animations-1.1.0.zip |
| Downloads | 3812 |
| Dependency string | RiskofThunder-R2API_Animations-1.1.0 |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.2109README
R2API.Animations - Modifying RuntimeAnimatorController
About
R2API.Animations is a submodule assembly for R2API that allows mod creators to modify existing RuntimeAnimatorController at runtime.
You can add states (both clips and blend trees), transitions and parameters.
Unity
When imported into Unity, adds an option in context menu Create/R2API/Animations/AnimatorDiff. In AnimatorDiff you specify Source Controller which is used as base for the diff,
and Modified Controller which should have all things that Source Controller has (recommended just select controller in hierarchy and pressing ctrl + d to duplicate it) + your modifications.
After that you add the AnimatorDiff to an AssetBundle and in code you can create an instance of AnimatorModifications with AnimatorModifications.CreateFromDiff().
Changelog
'1.1.0'
- Added support for
BlendTrees. - Added
AnimatorDiffthat you can create inside editor and load at runtime.
'1.0.1'
- Values for
NewStatesandNewTransitionsdictionaries are now lists
'1.0.0'
- Release