기술 자료

Unity Engine

Unity Engine

reorderable

Gets or sets a value that indicates whether the user can drag list items to reorder them.
읽는 시간 1분최근 업데이트: 20일 전

Definition

[UxmlAttribute]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.