StartDragArgs
Provides entry points to initialize the new drag-and-drop operation.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public struct StartDragArgs
Constructors
Constructor | Description |
|---|---|
| StartDragArgs(System.String,UnityEngine.UIElements.DragVisualMode) | Initializes a StartDragArgs. |
Properties
Property | Description |
|---|---|
| title | The title displayed near the pointer to identify what is being dragged. Should be set during the BaseVerticalCollectionView.setupDragAndDrop callback. |
| visualMode | The mode to use for this drag-and-drop operation. |
Methods
Method | Description |
|---|---|
| SetGenericData | Sets data associated with the current drag-and-drop operation. |
| SetPaths | Stores an array of paths to assets being dragged during this drag-and-drop operation. |
| SetUnityObjectReferences | Sets Unity Objects associated with the current drag-and-drop operation. |