Version: 2017.2

Animator.GetCurrentAnimatorStateInfo

Switch to Manual
public AnimatorStateInfo GetCurrentAnimatorStateInfo (int layerIndex);