文档

Unity Engine

Unity Engine

ApplyBuiltinRootMotion()

Apply the default Root Motion.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public void ApplyBuiltinRootMotion()

Remarks

Applies the default root motion. Use this in MonoBehaviour.OnAnimatorMove() or in StateMachineBehaviour.OnStateMove on frames where you don't want to handle the root motion manually.