Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DeoptimizeTransformHierarchy(GameObject)

This function will recreate all transform hierarchy under GameObject.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public static void DeoptimizeTransformHierarchy(GameObject go)

Parameters

GameObject to Deoptimize.

Remarks

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