Documentation

Unity Engine

Unity Engine

EndSampling()

Finish the sampling of the animation clip.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void EndSampling()

Remarks

AnimationMode.EndSampling is called after AnimationMode.SampleAnimationClip returns. This function must be called immediately following AnimationMode.SampleAnimationClip. See the script example on the AnimationMode page to see this behaviour.