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:
- Create an instance of your Prefab. (e.g. drag it onto the scene)
- Add/modify animation clips on the instance.
- 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.