LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

TreeView.GetSelection

public IList<int> GetSelection();

Description

Returns the list of TreeViewItem IDs that are currently selected.