Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

DragAndDrop

class in UnityEditor

/

Implemented in:UnityEditor

Description

Editor drag & drop operations.

Static Properties

activeControlIDGet or set ID of currently active drag and drop control.
objectReferencesReferences to objects being dragged.
pathsThe file names being dragged.
visualModeThe visual indication of the drag.

Static Methods

AcceptDragAccept a drag operation.
GetGenericDataGet data associated with current drag and drop operation.
PrepareStartDragClears drag & drop data.
SetGenericDataSet data associated with current drag and drop operation.
StartDragStart a drag operation.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答