Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


hoveredItem

Use this property to detect which TreeViewItem the mouse cursor is currently hovering over in the TreeView. This property is only valid if the enableItemHovering property has been set to true.
Read time 1 minuteLast updated 10 days ago

Definition

Warning
Removed. TreeView is now deprecated. You can likely now use TreeView\<int\> instead and not think more about it. But if you were using that identifier to store InstanceID data, you should instead opt to upgrade your TreeViews to use TreeView\<InstanceID\> to get the proper typing.
protected TreeViewItem hoveredItem { get; }