How to change the sprites in an animation?

Hi,

I followed a video tutorial online that created animations for a 2D sprite. There were four animations for moving in each direction, four for idling, and it used a blend tree to throw it all together. This animation was for my player, but now I want to make the exact same animations except with an “enemy” character; i.e. everything is the same except the sprites i’m using. I could do this by just recreating the entire thing again, but that seems impractical. Is there any way to just swap out the sprites in my current animation? Thanks!

public Sprite choosenSprite;
public Sprite sprites;
int index;

public void Start(){
//Only for automation
choosenSprite = GetComponent<Sprite>();

//Initialise the sprites
//Or just put the sprites in the editor
sprites = new Sprite[number of sprites];
}

public void Update(){
index++;
choosenSprite.sprite = sprites[index];
}

that’s like a animation thing, insert the object or initial object with a sprite object then insert into sprites all the sprites you want for the original object to be changed and it will play like an animation