文档

Unity Engine

Unity Engine

GetDepth(in HierarchyNode)

Determines the depth of a node.
阅读时间1 分钟最后更新于 5 小时前

Definition

GetDepth(HierarchyNode)

public int GetDepth(in HierarchyNode node)

Parameters

The hierarchy node.

Returns

Type

Description

intThe depth of the hierarchy node.