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.ReorderableListAssembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntaxbool 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.
RemarksThis method is always called whilst drawing an editor GUI.
See Also