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 TreeView.enableItemHovering property has been set to true.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Property
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor
protected TreeViewItem hoveredItem { get; }