Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

EntityIdsGets the Object references that are dragged. HierarchyNodeTypeHandler instances can populate this list.
NodesGets the HierarchyNode instances involved in the drag and drop operation. Only nodes for the current handler are included.
PathsGets the paths of assets involved in the drag and drop operation. HierarchyNodeTypeHandler instances can populate this list.
ViewGets the HierarchyView where the drag and drop operation occurs.

Methods

Method

Description

SetGenericDataSets generic data for the drag and drop operation.