Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DragAndDropData

Data stored during drag-and-drop operations, enabling information to be carried throughout the process.
Read time 1 minuteLast updated 6 days ago

Definition

public abstract class DragAndDropData

Properties

Property

Description

pathsA list of paths to the assets being dragged.
sourceThe object that started the drag.
unityObjectReferencesUnity Object references being dragged.
visualModeThe state of the current drag operation.

Methods

Method

Description

GetGenericDataGets data associated with the current drag-and-drop operation.
SetGenericDataSets data associated with the current drag-and-drop operation.