insertAtIndex
This index refers to the index in the children list of the TreeView<TIdentifier>.DragAndDropArgs.parentItem where the current drag is positioned.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Field
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor
public int insertAtIndex
Remarks
Use this index to control what should happen when items are dropped. This value is 0 or higher if the dragPosition is BetweenItems.
Additional Resources: TreeView<TIdentifier>.DragAndDropArgs.dragAndDropPosition.