Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimatorUtility

Namespace: UnityEngine

Description

Various utilities for animator manipulation.

Static Functions

DeoptimizeTransformHierarchy This function will recreate all transform hierarchy under GameObject.
OptimizeTransformHierarchy This function will remove all transform hierarchy under GameObject, the animator will write directly transform matrices into the skin mesh matrices saving alot of CPU cycles.