静态instThe source object to be dragged as a icon.
The icon resource to be used as the drag image.
(Optional) The data to be passed to the event handler.
可选iconWidth: number(Optional) The width of the drag image. Defaults to iconWidth.
可选iconHeight: number(Optional) The height of the drag image. Defaults to iconHeight.
The source object to be dragged as a icon.
The sprite whose snapshot will be used as the drag image icon resource.
(Optional) The data to be passed to the event handler.
可选iconWidth: number(Optional) The width of the drag image. Defaults to iconWidth.
可选iconHeight: number(Optional) The height of the drag image. Defaults to iconHeight.
En
The DragDropManager class is used to manage drag-and-drop operations in the UI.
Zh
DragDropManager 类用于管理 UI 中的拖放操作。
Blueprintable