How do I use pre-made animations on an NPC character?

I have an NPC character in the T position, and I have a pre-made idle animation that I would like him to use. How can I do this?

Per you comment, it sounds like you’re doing what Unity calls “Legacy” animation scripting. This article here should give you all the information you need for getting a simple example up and running.