Version: 2017.1

AnimationMode.SampleAnimationClip

매뉴얼로 전환
public static void SampleAnimationClip (GameObject gameObject, AnimationClip clip, float time);

설명

Samples an AnimationClip on the object and also records any modified properties in AnimationMode.

This function must always be surrounded by BeginSampling and EndSampling. When a property is no longer sampled (through SampleAnimationClip or AddPropertyModification) between BeginSampling and EndSampling it will automatically revert to the original value when EndSampling is called.

AnimationMode.BeginSample();
AnimationMode.SampleAnimationClip(gameObject, clip, 0.3F);
AnimationMode.EndSample();