Version: 2018.4
LanguageEnglish
  • C#

IPropertyCollector.AddFromClips

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public void AddFromClips(IEnumerable<AnimationClip> clips);

Declaration

public void AddFromClips(GameObject obj, IEnumerable<AnimationClip> clips);

Parameters

clips The list of animation clips used to determine which property modifications to apply.
obj The GameObject to animate.

Description

Add property modifications specified by a list of animation clips.

Property modifications refer to position, rotation, scaling, or any other property that is taken from an animation clip and applied to a GameObject.