Inheritence

Summary

Contains drag and drop data for tool widgets. See Editor.Widget.DragEvent.

Constructors

DragData

Properties

Assets Interprets Editor.DragData.Text as a list of asset paths or cloud asset URLs, getting a list of helper objects to access each asset. Generated and cached internally on first access after Editor.DragData.Text changes.
FileOrFolder The first file or folder in the drag data.
Files All files and folders in the drag data.
HasFileOrFolder Whether the drag data has at least 1 file or folder.
Html HTML data of the drag and drop event, if any.
Object An object that can be used to pass drag and drop data
Text Text data of the drag and drop event.
Url URL data of the drag and drop event, if any.

Methods

OfType Helper for finding instances of type <typeparamref name="T" /> in Editor.DragData.Object. Will find matches if Editor.DragData.Object is of type <typeparamref name="T" />, is an System.Collections.IEnumerable with <typeparamref name="T" /> items, or a Sandbox.SerializedObject with <typeparamref name="T" /> targets.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.