Documentation

Unity Engine

Download Unity

Unity Engine

GetDepth(in HierarchyNode)

Determines the depth of a node.
Read time 1 minuteLast updated 8 hours ago

Definition

GetDepth(HierarchyNode)

public int GetDepth(in HierarchyNode node)

Parameters

The hierarchy node.

Returns

Type

Description

intThe depth of the hierarchy node.