文档

Unity Engine


User Manual

Script Reference

Unity Engine


StartDragArgs

Provides entry points to initialize the new drag-and-drop operation.
阅读时间1 分钟最后更新于 10 天前

Definition

public struct StartDragArgs

Constructors

Properties

Property

Description

titleThe title displayed near the pointer to identify what is being dragged. Should be set during the BaseVerticalCollectionView.setupDragAndDrop callback.
visualModeThe mode to use for this drag-and-drop operation.

Methods

Method

Description

SetEntityIdsSets Entity Ids associated with the current drag-and-drop operation.
SetGenericDataSets data associated with the current drag-and-drop operation.
SetPathsStores an array of paths to assets being dragged during this drag-and-drop operation.