- Home /
Question by
Sunrunner · Nov 02, 2014 at 08:17 AM ·
animationanimatorcontrolleranimations
Dynamically add AnimationState to Controller
I haven't been able to figure out how to programmatically add a new animation state to a runtimeAnimatorController. My end goal is to add additional AnimationClip slots to the controller at run time. I have been able to use the AnimatorOverrideController class to override existing AnimationClips; however, this doesn't work if you need to create additional "originals".
There is very little, if any, documentation on the subject so reaching out to the community for assistance. Thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613170525im_/https://answers.unity.com/themes/thub/images/avi.jpg)