기술 자료

Unity Engine

Unity Engine

GetChildrenCountRecursive(in HierarchyNode)

Gets the number of child nodes that a hierarchy node has, including children of children.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

GetChildrenCountRecursive(HierarchyNode)

public int GetChildrenCountRecursive(in HierarchyNode node)

Parameters

The hierarchy node.

Returns

Type

Description

intThe number of child nodes, including children of children.