Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

TreeViewItem.depth

public int depth;

Description

The depth refers to how many ancestors this item has, and corresponds to the number of horizontal ‘indents’ this item has.