Bryan Bedard's Blog
My adventures in software development, mistakes and all.

Modifying Animations for Prefabs in Unity

Posted by Bryan Bedard - 12/27/2017

It was not obvious to me how to go about adding an animation to an existing prefab or modify animations associated with an existing prefab. This forum discussion led me to the right answer but I wanted to write a short blog post so I can easily find my way back to this answer in the future when my memory of it becomes foggy.

You can’t directly add animations to a prefab nor modify animations it already has. The only way to do it is to follow these steps:

  1. Create an instance of your Prefab. (e.g. drag it onto the scene)
  2. Add/modify animation clips on the instance.
  3. When finished, drag the instance on top of the original Prefab to replace it with the enhanced object that includes the new or updated animations.

Add Your Comment

Want to comment on this? Log in or Register to add your comments.