IReorderableListDropTarget.CanDropInsert Method

Rotorz ReorderableList

IReorderableListDropTargetCanDropInsert Method
Determines whether an item is being dragged and that it can be inserted or moved by dropping somewhere into the reorderable list control.

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
bool CanDropInsert(
	int insertionIndex
)
function CanDropInsert(
	insertionIndex : int
) : boolean

Parameters

insertionIndex
Type: SystemInt32
Zero-based index of insertion.

Return Value

Type: Boolean
A value of true if item can be dropped; otherwise false.
Remarks

This method is always called whilst drawing an editor GUI.

See Also