SerializedPropertyAdaptorCanRemove Method |
Determines whether an item can be removed from list.
Namespace: Rotorz.ReorderableListAssembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntaxpublic virtual bool CanRemove(
int index
)
public virtual function CanRemove(
index : int
) : boolean
Parameters
- index
- Type: SystemInt32
Zero-based index for list element.
Return Value
Type:
Boolean
A value of
true if item can be removed; otherwise
false.
Implements
IReorderableListAdaptorCanRemove(Int32)
RemarksThis 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.
See Also