insertAtIndex
This index refers to the index in the children list of the TreeView.DragAndDropArgs.parentItem where the current drag is positioned.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Field
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
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.DragAndDropArgs.dragAndDropPosition.