Version: 2020.2

AnimationMode.StopAnimationMode

切换到手册
public static void StopAnimationMode ();
public static void StopAnimationMode (AnimationModeDriver driver);

参数

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

描述

Stops the Animation mode and reverts any properties that were animated while in Animation mode.

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