Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


optimizeGameObjects

Animation optimization setting.
Read time 1 minuteLast updated 6 days ago

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.