文档

Unity Engine

Unity Engine

SortChildrenRecursive(in HierarchyNode)

Recursively sorts the child nodes of a hierarchy node by their sort index.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule

SortChildrenRecursive(HierarchyNode)

public bool SortChildrenRecursive(in HierarchyNode node)

Parameters

The hierarchy node with child nodes to sort by their index.

Returns

Type

Description

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