HierarchyViewDragAndDropSetupData
Contains the data needed to start a drag and drop operation.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Struct
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyModule
public readonly ref struct HierarchyViewDragAndDropSetupData
Properties
Property | Description |
|---|---|
| EntityIds | Gets the Object references that are dragged. HierarchyNodeTypeHandler instances can populate this list. |
| Nodes | Gets the HierarchyNode instances involved in the drag and drop operation. Only nodes for the current handler are included. |
| Paths | Gets the paths of assets involved in the drag and drop operation. HierarchyNodeTypeHandler instances can populate this list. |
| View | Gets the HierarchyView where the drag and drop operation occurs. |
Methods
Method | Description |
|---|---|
| SetGenericData | Sets generic data for the drag and drop operation. |