Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


preserveHierarchy

If true, always create an explicit Prefab root. Otherwise, if the model has a single root, it is reused as the Prefab root.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public bool preserveHierarchy { get; set; }