Change out animation clip in animator from state

Is it possible to somehow access the Animator and get a list of clips, then from that list change out specific animation clips? For instance, if I have a state for a “Shoot bow” animation clip, and want and then change the animation clip to “Shoot boomerang”, how would I do that?

Essentially, this would be for a sort of modular system: Versus creating multiple states in the animator, I want a single state to exist that has it’s animation clip changed out as needed.

You can you Animator Override Controllers that will override your States.

This is the best way to change dynamically which Animation Clip will be played.

Cheers