Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StopAnimationMode

Stops the Animation mode and reverts any properties that were animated while in Animation mode.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

StopAnimationMode()

Stops the Animation mode and reverts any properties that were animated while in Animation mode.
public static void StopAnimationMode()

Remarks

When in Animation mode, property animations are stored by calling the SampleClip or AnimationMode.AddPropertyModification methods. This method, AnimationMode.StopAnimationMode, reverts these property animations.

StopAnimationMode(AnimationModeDriver)

Stops the Animation mode and reverts any properties that were animated while in Animation mode.
public static void StopAnimationMode(AnimationModeDriver driver)

Parameters

An AnimationModeDriver object must be specified if one was specified when the Animation mode was started (AnimationMode.StartAnimationMode.)

Remarks

When in Animation mode, property animations are stored by calling the SampleClip or AnimationMode.AddPropertyModification methods. This method, AnimationMode.StopAnimationMode, reverts these property animations.