ReorderableListControl.DuplicateItem Method

Rotorz ReorderableList

ReorderableListControlDuplicateItem Method
Duplicate specified item and raises the event ItemInserted.

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
protected void DuplicateItem(
	IReorderableListAdaptor adaptor,
	int itemIndex
)
protected function DuplicateItem(
	adaptor : IReorderableListAdaptor,
	itemIndex : int
)

Parameters

adaptor
Type: Rotorz.ReorderableListIReorderableListAdaptor
Reorderable list adaptor.
itemIndex
Type: SystemInt32
Zero-based index of item.
See Also