Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


KeyEvent()

Override this method to handle events when the TreeView has keyboard focus.
Read time 1 minuteLast updated 10 days ago

Definition

protected virtual void KeyEvent()

Remarks

The TreeView should not handle key events if it does not have keyboard focus therefore this method is only called when GUIUtility.keyboardControl == TreeView<TIdentifier>.treeViewControlID.