Documentation

Unity Engine

Unity Engine

AnimatorUtility

Various utilities for animator manipulation.
Read time 1 minuteLast updated a month ago

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.