TreeView.treeViewControlID

public int treeViewControlID;

Description

The controlID used by the TreeView to obtain keyboard control focus.

Can be used for setting keyboard focus to the TreeView from script: GUIUtility.keyboardControl = treeViewControlID;

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