Unity: How to change the default or entry animation for an animator

When creating a new animation for a game object, by default in Unity, the first animation your created is the entry animation for a game object.

Suppose we have two animation for a game object with two animations: cucumber_idle and cucumber_walk.

If you want to update or modify the entry animation, in this example, change the following cucumber_idle to cucumber_walk:

Change default animation in Unity 1

You can simply right click on the cucumber_walk and choose Set as Layer Default State:

Change default animation in Unity 2

Then it will become:

Change default animation in Unity 1

Reference:

comments powered by Disqus