Start sprite animation at the same index that the previous animation stopped

I have multiple animation (idle, running, jumping, walking…) and another animations shooting (idle_shooting, running_shooting, jumping_shooting, walking_shooting). I need to know how can I start a shooting animation with the same index that the previous animation stoped, like running[7] ->running_shooting[7], jumping[3] → jumping_shooting[3] .

Any sugestion will be very helpful.

For 2D you may find it easier to have 2 separate animations and have them play at the same time.

Your issue could also be solved by using “Blend Trees”:

http://docs.unity3d.com/Manual/class-BlendTree.html

Hi! Have you tried using animation blend trees? Blend Trees - Unity Official Tutorials - YouTube Unity - Manual: Blend Trees