文档

Unity Engine

Unity Engine

SetupDragAndDropArgs

Information about a drag-and-drop operation that just started. You can use it to store generic data for the rest of the drag. See BaseVerticalCollectionView.setupDragAndDrop.
阅读时间1 分钟最后更新于 20 天前

Definition

public readonly struct SetupDragAndDropArgs

Fields

Value

Description

draggedElementThe element on which the drag operation started.
selectedIdsThe selected IDs in the source.
startDragArgsProvides entry points to initialize data and visual of the new drag-and-drop operation.