Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


reorderable

Gets or sets a value that indicates whether the user can drag list items to reorder them.
Read time 1 minuteLast updated 4 days ago

Definition

[CreateProperty]public bool reorderable { get; set; }

Remarks

The default value is
false
which allows the user to drag items to and from other views when you implement BaseVerticalCollectionView.canStartDrag, BaseVerticalCollectionView.setupDragAndDrop, BaseVerticalCollectionView.dragAndDropUpdate, and BaseVerticalCollectionView.handleDrop. Set this value to
true
to allow the user to reorder items in the list.