Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop default animation?

I'm making a game in Unity 2D (4.3) and whenever I start the game, the default animation plays. How can I stop this? I haven't told it to start in void Start() or anything...

Also, animation.Play("Anim") doesn't work.

I'll show you some screenshots of my editor: The Animator Animator in editor

The animator object on my player

Animator object

like image 236
71m3 Avatar asked Jan 11 '23 17:01

71m3


1 Answers

You should be able to create a new (empty) State within the Animator panel, Right-Click and select to make that the default state (should highlight orange).

like image 155
Liam Brocklehurst Avatar answered Jan 17 '23 20:01

Liam Brocklehurst