기술 자료

Unity Engine

Unity Engine

HandleDragAndDropArgs

Information about a drag-and-drop operation in progress. See BaseVerticalCollectionView.dragAndDropUpdate and BaseVerticalCollectionView.handleDrop.
읽는 시간 1분최근 업데이트: 20일 전

Definition

public readonly struct HandleDragAndDropArgs

Properties

Property

Description

childIndexThe child index under the HandleDragAndDropArgs.parentId that the drag-and-drop operation targets. Used only for trees.
dragAndDropDataData stored for the drag-and-drop operation.
dropPositionThe type of drop position.
insertAtIndexThe index at which the drop operation wants to happen.
parentIdThe new parent targeted by the drag-and-drop operation. Used only for trees.
positionThe world position of the pointer.
targetThe target of the drop. There is only a target when hovering over an item. OverItem