文档

Unity Engine

Unity Engine

RemoveMixingTransform(Transform)

Removes a transform which should be animated.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public void RemoveMixingTransform(Transform mix)

Parameters

Remarks

You can only pass transforms that have been added through AnimationState.AddMixingTransform function. If transform has been added as recursive, then it will be removed as recursive. Once you remove all mixing transforms added to animation state all curves become animated again. Additional Resources: AnimationState.AddMixingTransform function.