Generic NPC characters

Is it possible to create a NPC gameobject and change the sprite as needed? I have animations for moving that object and I used a certain sprite image to make the animation.

You have several sprites and you want to change the sprite to animate? If that’s the case you might want to take a look at Mecanim, which is the animation system incorporated in Unity… It’ll be way easier for you. Here are the official tutorials

I have the animation going, but I was wondering if I could make a generic script to apply to all NPCs and just add a different sprite as each NPC would have a different look.