HierarchyViewDragAndDropHandlingData
Contains the data needed to handle a drag and drop operation in a HierarchyView.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyModule
public readonly ref struct HierarchyViewDragAndDropHandlingData
Properties
Property | Description |
|---|---|
| ChildIndex | Gets the child index in the HierarchyView. |
| DropPosition | Gets the DragAndDropPosition of the drop relative to the HierarchyViewDragAndDropHandlingData.Target. |
| EntityIds | Gets the EntityId values involved in the drag and drop operation. |
| InsertAtIndex | Gets the insertion index in the HierarchyView. |
| Parent | Gets the parent HierarchyNode that accepts the new nodes from the drag and drop operation. |
| Paths | Gets the paths to the assets involved in the drag and drop operation. |
| Source | Gets the object that started the drag and drop operation. |
| Target | Gets the target HierarchyNode located at HierarchyViewDragAndDropHandlingData.InsertAtIndex. |
| View | Gets the HierarchyView where the drag and drop operation occurs. |
Methods
Method | Description |
|---|---|
| GetGenericData | Gets generic data from the drag and drop operation. |