Try use the Blendspace it is used basically for transition from walk to run for example. In your case you can create new Blendspace and connect that with state machine with simple way. Also you can create second or more blendspace/blendspace2D for specific animations.