Reorderable List Control for Unity
IReorderableListAdaptorCanRemove Method |
Determines whether an item can be removed from list.
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)

bool CanRemove( int index )
function CanRemove( index : int ) : boolean
Parameters
- index
- Type: SystemInt32
Zero-based index for list element.
Return Value
Type: BooleanA value of true if item can be removed; otherwise false.

This should be a light-weight method since it will be used to determine whether remove button should be included for each item in list.
This is redundant when HideRemoveButtons is specified.
