Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

AnimatorUtility.DeoptimizeTransformHierarchy

public static void DeoptimizeTransformHierarchy(GameObject go);

Parameters

goGameObject to Deoptimize.

Description

This function will recreate all transform hierarchy under GameObject.

A call to this function at runtime will re-initialize the animator.

See Also: AnimatorUtility.OptimizeTransformHierarchy, Animator.hasTransformHierarchy.

Did you find this page useful? Please give it a rating: