ReorderableListControl.ClearAll Method

Rotorz ReorderableList

ReorderableListControlClearAll Method
Remove all items from list.

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
protected bool ClearAll(
	IReorderableListAdaptor adaptor
)
protected function ClearAll(
	adaptor : IReorderableListAdaptor
) : boolean

Parameters

adaptor
Type: Rotorz.ReorderableListIReorderableListAdaptor
Reorderable list adaptor.

Return Value

Type: Boolean
Returns a value of false if operation was cancelled.
Remarks

The event ItemRemoving is raised for each item prior to clearing array and allows entire operation to be cancelled.

See Also