GetAnimationClips
Retrieves an array of animation clips associated with a GameObject or component. GetAnimationClips(Animation) is obsolete and has been replaced with GetAnimationClips(GameObject).
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
GetAnimationClips(Animation)
Retrieves an array of animation clips associated with a GameObject or component. is obsolete and has been replaced with .
GetAnimationClips(Animation)GetAnimationClips(GameObject)public static AnimationClip[] GetAnimationClips(Animation component)
Parameters
Returns
Type | Description |
|---|---|
| AnimationClip[] |
Remarks
This method retrieves animation clips from the Animator or Animation component. This method works with any component that has implemented the IAnimationClipSource interface.
GetAnimationClips(GameObject)
Retrieves an array of animation clips associated with a GameObject or component. is obsolete and has been replaced with .
GetAnimationClips(Animation)GetAnimationClips(GameObject)public static AnimationClip[] GetAnimationClips(GameObject gameObject)
Parameters
Returns
Type | Description |
|---|---|
| AnimationClip[] |
Remarks
This method retrieves animation clips from the Animator or Animation component. This method works with any component that has implemented the IAnimationClipSource interface.