Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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.