DeoptimizeTransformHierarchy(GameObject)
This function will recreate all transform hierarchy under GameObject.
阅读时间1 分钟最后更新于 1 个月前
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.
Additional Resources: AnimatorUtility.OptimizeTransformHierarchy, Animator.hasTransformHierarchy.