Animation doesn't switch to default state after setActive
When i play, i am pressing mouse button and set animation to walk state, but if hero losed i switch hero's game object to setActive(false) and show restart panel, after pressing restart button i set setActive to true, but animation doesn't switch to idle state and all time displaying walking animation, but in animator window state setted to idle, how can i fix it?
Comment