Animator.GetCurrentAnimatorStateInfo
GetCurrentAnimatorStateInfo(layerIndex: int): AnimatorStateInfo;
AnimatorStateInfo GetCurrentAnimatorStateInfo(int layerIndex);
def GetCurrentAnimatorStateInfo(layerIndex as int) as AnimatorStateInfo
Parameters

layerIndex The layer's index.
Description

Gets the current State information on a specified AnimatorController layer.