This version of Unity is unsupported.

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.