public AnimatorClipInfo[] GetNextAnimatorClipInfo(int layerIndex);
Parameters
| layerIndex | The layer index. |
Returns
AnimatorClipInfo[] An array of all the AnimatorClipInfo in the next state.
Description 描述
Returns an array of all the AnimatorClipInfo in the next state of the given layer.
public void GetNextAnimatorClipInfo(int layerIndex,
List<AnimatorClipInfo> clips);
Parameters
| layerIndex | The layer index. | |
| clips | The list of AnimatorClipInfo to fill. |
Description 描述
Fills clips with the list of all the AnimatorClipInfo in the next state of the given layer.
See Also: GetNextAnimatorClipInfoCount.