Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TreeView Constructor

public TreeView(IMGUI.Controls.TreeViewState state);
public TreeView(IMGUI.Controls.TreeViewState state, IMGUI.Controls.MultiColumnHeader multiColumnHeader);

Parameters

state TreeView state (expanded items, selection etc.)
multiColumnHeader Multi-column header for the TreeView.

Description

The TreeView is always constructed with a state object and optionally a multi-column header object if a header is needed.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答