StartDragArgs

struct in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Provides entry points to initialize the new drag-and-drop operation.

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.

Constructors

Constructor Description
StartDragArgs Initializes a StartDragArgs.

Public 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.

Did you find this page useful? Please give it a rating: