This Animation controller has all it’s animation states nested under the controller. I think this is a great way to organize. Only issue is I can’t do this myself, the only way I’ve seen to get this setup is with “Auto Generate Animation” when using a UI>Button, but if I try to setup this type of relationship with other objects manually, I simply can’t nest the animations under the object.
Functionally it’s almost the same except other animation controllers can’t access another controller’s animations if they are nested, which is fine but I just want to know how to accomplish this. Is it possible to do this manually on our own?
TL;DR: UIButton’s Auto Generate Animation does something I can’t seem to recreate.
It is working and I can add new AnimationClips to Controller just fine, but when I try to add this clip to newly created empty state it gives me an error :
Animation clip ‘End’ is not retargetable. Animation clips used within the Animator Controller need to have Muscle Definition set up in the Asset Importer Inspector.
Any tips?
Possible feature request: could we have AnimationClips be nested in the AnimatorController by default? I don’t think I’ve ever once reused an AnimationClip in a different controller, and associating clips with the correct controller is…challenging at best.
PS: If you are interested i’ve made a little class to help me create animator controllers with custom states just like the Auto Generator in Unity. Here’s the link: http://pastebin.com/ZLjZ1gda