Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StartDragArgs

Provides entry points to initialize the new drag-and-drop operation.
Read time 1 minuteLast updated 5 days ago

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.