Version: 2022.3

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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961