I wrote an editor script to create a EditorWindow. It's use for manager some asset.
I call DragAndDrop.StartDrag() to start a drag&drop in this EditorWindow. Another EditorWindow can get DragPerform event to finish the drag&drop. It works very well on windows.
On the Mac, you can see the drag title, but can't get any DragXXXXX event. But if you drag a asset from project view to the EditorWindows, it works.
the code like this:
Is there something wrong with my code? Or it is a bug? Does anyone know about this?
Solved. I don't know why&how, but it works on OSX at now.
answered Aug 20 '11 at 07:24 AM