How to animate a 2D character in a consistent duel game?

The crux of the matter is that I have a character and it has two animations: "Idle" and "MidAttack", respectively when it is in rest the animation is Idle, when you press the button the animation is MidAttack, but upon completion MidAttack got to play the animation Idle. How it competently to implement?
April 7th 20 at 15:30
1 answer
April 7th 20 at 15:32
Something like this:
5e4aa6ee1b4af390038632.png

Find more questions by tags Unity Game Engine