文档

Unity Engine

Unity Engine

StopAnimationMode

Stops the Animation mode and reverts any properties that were animated while in Animation mode.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

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.