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

TreeView.SetFocusAndEnsureSelectedItem

Declaration

public void SetFocusAndEnsureSelectedItem();

Description

Calling this function changes the keyboard focus to the TreeView and ensures an item is selected. Use this function to enable key navigation of the TreeView.