文档

Unity Engine

Unity Engine

sortHierarchyByName

Sorts the gameObject hierarchy by name.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.