文档

Unity Engine

Unity Engine

HierarchyViewDragAndDropSetupData

Contains the data needed to start a drag and drop operation.
阅读时间1 分钟最后更新于 1 个月前

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.