AnimationMode.BeginSampling

public static void BeginSampling();

Description

Initialise the start of the animation clip sampling.

BeginSampling arranges for the ::SampleAnimationClip to operate correctly. Not calling BeginSampling prevents the animation data to be sampled. This function must be called immediately before the SampleAnimationClip is called. See the script example on the AnimationMode page to see this behaviour.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答