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.FrameItem

public void FrameItem(int id);

Parameters

idTreeViewItem ID.

Description

This will reveal the item with ID id (by expanding the ancestors of that item) and will make sure it is visible in the ScrollView.