GetNextAnimatorClipInfo
Returns an array of all the AnimatorClipInfo in the next state of the given layer.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
GetNextAnimatorClipInfo(int)
Returns an array of all the AnimatorClipInfo in the next state of the given layer.
public AnimatorClipInfo[] GetNextAnimatorClipInfo(int layerIndex)
Parameters
The layer index.
Returns
Type | Description |
|---|---|
| AnimatorClipInfo[] | An array of all the AnimatorClipInfo in the next state. |
GetNextAnimatorClipInfo(int, List<AnimatorClipInfo>)
Fills with the list of all the AnimatorClipInfo in the next state of the given layer.
clipspublic void GetNextAnimatorClipInfo(int layerIndex, List<AnimatorClipInfo> clips)
Parameters
Remarks
Additional Resources: Animator.GetNextAnimatorClipInfoCount