StartDragArgs
Provides entry points to initialize the new drag-and-drop operation.
읽는 시간 1분최근 업데이트: 20일 전
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 |
|---|---|
| SetEntityIds | Sets Entity Ids associated with the current drag-and-drop operation. |
| 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. |