If you need your editor script to support drag and drop functionality you can use the methods provided in the DragAndDrop class.