GetCurrentAnimatorClipInfo
Returns an array of all the AnimatorClipInfo in the current state of the given layer.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
GetCurrentAnimatorClipInfo(int)
Returns an array of all the AnimatorClipInfo in the current state of the given layer.
public AnimatorClipInfo[] GetCurrentAnimatorClipInfo(int layerIndex)
Parameters
The layer index.
Returns
Type | Description |
|---|---|
| AnimatorClipInfo[] | An array of all the AnimatorClipInfo in the current state. |
GetCurrentAnimatorClipInfo(int, List<AnimatorClipInfo>)
Returns an array of all the AnimatorClipInfo in the current state of the given layer.
public void GetCurrentAnimatorClipInfo(int layerIndex, List<AnimatorClipInfo> clips)