How to remplace a animationClip by other in runtime?

Hello, i have a character with three animations of attack, each one called by a button, i need to change the animation by other in another folder in resources.

in example mi heroe can choose difrents attacks (maybe 100), and i dont want have all in all time, so need to load and substitute those who i have in animator.
its a posible way to do? o dont try to get that feature?.

Thanks to all!

I assume you are using the legacy animation system. You can then use Animation.AddClip() / Animation.RemoveClip() to add new animations or remove old ones via script at runtime. But beware, these kind of operations are extremely slow and will almost certainly result in a spike in CPU usage.