Version: 2021.2

DragAndDrop.ProjectBrowserDropHandler

切换到手册
public delegateDragAndDropVisualMode ProjectBrowserDropHandler (int dragInstanceId, string dropUponPath, bool perform);

参数

dragInstanceId ID of the dragged asset that is dropped into the Project browser window.
dropUponPath Path of the dragged asset that is dropped into the Project browser window.
perform True if the event is of type EventType.DragPerform.

返回

DragAndDropVisualMode Returns DragAndDropVisualMode.None if this handler is not able to process the event. In that case a new handler will be called for processing. Any other DragAndDropVisualMode results will stop the handler chain.

描述

Handler for the Project.