Version: 2022.2

AnimationUtility.GetAnimationClips

切换到手册
Obsolete public static AnimationClip[] GetAnimationClips (Animation component);
public static AnimationClip[] GetAnimationClips (GameObject gameObject);

描述

Retrieves an array of animation clips associated with a GameObject or component.

This method retrieves animation clips from the Animator or Animation component. This method works with any component that has implemented the IAnimationClipSource interface.


Did you find this page useful? Please give it a rating: