文档

Unity Engine

Unity Engine

AnimatorUtility

Various utilities for animator manipulation.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public class AnimatorUtility

Static Methods

Method

Description

DeoptimizeTransformHierarchyThis function will recreate all transform hierarchy under GameObject.
OptimizeTransformHierarchyThis function will remove all transform hierarchy under GameObject, the animator will write directly transform matrices into the skin mesh matrices saving many CPU cycles.