Version: 2017.2

Animator.GetAnimatorTransitionInfo

Switch to Manual
public AnimatorTransitionInfo GetAnimatorTransitionInfo (int layerIndex);