文档

Unity Engine

Unity Engine

SetGenerateMotionCurves(AnimationClip, bool)

Sets whether the animation clip generates root motion curves.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
警告
Deprecated. This is not used anymore. Root motion curves are automatically generated if applyRootMotion is enabled on Animator component.
public static void SetGenerateMotionCurves(AnimationClip clip, bool value)

Parameters

AnimationClip to change.

value

Set to true to enable generation of root motion curves.