1
\$\begingroup\$

I have several animations that I am using on a GameObject. I switched the folder they were stored in, and they got detached from the gameObject. How can I add the existing animations to my gameObject without having to recreate them?

I am not looking to do this programmatically. I just want to undo the damage I have done without having to start over. Ideally, I want a "Load Animation" option from the Animator window in the editor, but that does not appear to exist :-/.

\$\endgroup\$
1
\$\begingroup\$

Just drag the animator controller that has your animations in it to the Animator on your game object you should be able to access your animations again.

enter image description here

\$\endgroup\$
  • \$\begingroup\$ I am trying to build rebuild the Animator from the saved Animations \$\endgroup\$ – Evorlor Jan 24 '15 at 18:42
  • \$\begingroup\$ not sure what you named yours but it will look like the example image above. drag that to your animator and when you access the gameobject that has the animator you can now see your saved animations you made in the animations tab \$\endgroup\$ – Justin Markwell Jan 24 '15 at 20:50
0
\$\begingroup\$

Here is how I fixed the same issue:

  1. Open the animator window

  2. Click on the game object that has the animation

  3. In the animator window for that game object, the original animations you set should still be there. Click on one of them.

animator window

  1. In the inspector, there is a property called "Motion" where the animation from your new animation folder should be. Drag and drop it there and it should start working the same as you had it before.

inspector window

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.