Functions: Modification API
The Modification API is an upcoming API that is being introduced to 1.3.0. It is currently part of 1.3.0-alpha.1.
It is designed specifically for the creation and distribution of modular prefabs, where you generate assets on your developer machine and distribute those generated assets to your users. Your users will not need to install Animator As Code.
When using the Modification API, you will provide references to existing AnimatorController, AnimationClip, and BlendTree assets. These assets will be emptied and their contents replaced with the newly generated content. This is a destructive process, conversely intended for the creation of non-destructive prefabs.
The Modification API can be accessed by calling (AacFlBase).Modification()
Minimum version
- The Modification API requires 1.3.0 minimum.
Animator creation overview
Base (AacFlBase)
AacFlModification Modification()
Returns a new AacFlModification instance, granting you access to this destructive modification API. You will need to reuse this instance throughout.