文档

Unity Engine

Unity Engine

optimizeGameObjects

Animation optimization setting.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool optimizeGameObjects { get; set; }

Remarks

In the GameObjects hierarchy of a character, the GameObjects which only contain Transform component, will be optimized out unless they are specified in ModelImporter.extraExposedTransformPaths for better CPU performance. The remaining GameObjects hierarchy will be flattened.