Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EndSampling()

Finish the sampling of the animation clip.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.