You've successfully subscribed to Hacking with Unity - Learn how to create your own games
Great! Next, complete checkout for full access to Hacking with Unity - Learn how to create your own games
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info is updated.
Billing info update failed.

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

Ben Liu
Ben Liu

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:

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

Then it will become:

Reference:

Ben Liu

Please feel free to contact me if you have any question. <br> https://t.me/NeedoneApp