HierarchyCommandList.SortChildren

Declaration

public bool SortChildren(ref Unity.Hierarchy.HierarchyNode node, bool recurse);

Parameters

node The hierarchy node with child nodes to sort by their index.
recurse Whether to sort the child nodes recursively.

Returns

bool true if the command was appended to the list, false otherwise.

Description

Sorts the child nodes of a hierarchy node by their sort index.


Did you find this page useful? Please give it a rating: