SortChildren(in HierarchyNode, bool)
Sorts the child nodes of a hierarchy node by their sort index.
Read time 1 minuteLast updated a month ago
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
SortChildren(HierarchyNode, bool)
public bool SortChildren(in HierarchyNode node, bool recurse = false)
Parameters
The hierarchy node with child nodes to sort by their index.
Whether to sort the child nodes recursively.
Returns
Type | Description |
|---|---|
| bool | |