ReorderableListControl.MoveItem Method

Rotorz ReorderableList

ReorderableListControlMoveItem Method
Move item from source index to destination index.

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

Parameters

adaptor
Type: Rotorz.ReorderableListIReorderableListAdaptor
Reorderable list adaptor.
sourceIndex
Type: SystemInt32
Zero-based index of source item.
destIndex
Type: SystemInt32
Zero-based index of destination index.
See Also