Adding an idle animation to a player character in Unity

Objective: Add in a simple idle animation to a game character in Unity

For this article you will need an idle animation, and an animator controller on a character.

Once you’ve got the above it is a simple process to begin adding animations to the controller.

Double-click the animator in the editor and it will automatically open the animator window.

With the animator window open I can now add in my idle animation. If you have no other animations in the animator then the first one inserted will be made the default state and will show as orange.

If you play your game right now, you will see the idle animation playing. And that is it for setting up the idle animation for a player character.