Reputation: 345
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
The animator object on my player
Upvotes: 4
Views: 10443
Reputation: 173
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).
Upvotes: 10