Version: 5.4

Animator.GetCurrentAnimatorStateInfo

Switch to Manual
public AnimatorStateInfo GetCurrentAnimatorStateInfo (int layerIndex);