Version: 2017.1

Animator.GetCurrentAnimatorStateInfo

Switch to Manual
public AnimatorStateInfo GetCurrentAnimatorStateInfo (int layerIndex);