sortHierarchyByName
Sorts the gameObject hierarchy by name.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public bool sortHierarchyByName { get; set; }
Remarks
When enabled, gameObjects are sorted by alphabetical order within the hierarchy. Disable this property to preserve the hierarchy order defined in the imported file.