文档

Unity Engine

Unity Engine

StartDragArgs

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

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

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.
SetUnityObjectReferencesSets Unity Objects associated with the current drag-and-drop operation.