Switch animation (462270)

I wonder,
If i have a character which has 3 animations: standing (idle), walking, running
When i want to move from walking to running (or back), how can i make unity to know in which leg the character is?

(without change animation only at ends)

oops, double send!
please delete it!