Editor Script - Assign Anims to Animator Override Controller
Hi All,
I have an editor script that duplicates a set of animations and an animator override controller, but with a new name. e.g. It makes a copy of the template.anim and renames it Enemy1.anim, and Enemy1.OverrideController etc.
I would like to add a function that also assigns the new animations to the new Animator Override Controller.
My current script already knows the names/locations of all of the new anims and overrides, so I all I need is a function that does the assigning.
Thanks! :-)
Your answer
Follow this Question
Related Questions
Get and modify animation clip keyframes using a script? 0 Answers
Applying values from an animationClip to bones of a skinnedMesh via code? 0 Answers
How to copy and paste animation events from one clip to another if those clips are included in FBXs? 1 Answer
Controlling animation editor programatically 0 Answers
How to get root motion from animations made in blender? 1 Answer