I assume you already have a custom Editor subclass? If not, you'll need one. From there, take a look at the [DragAndDrop][1] docs. You'll need to check for Drag events in OnInspectorGUI and handle them correctly when the drag/drop is over your inspector.
You can also just make a List of GameObject's in your MonoBehavior, in which case Unity will do all of the editor drag-and-drop for you in the default inspector.
[1]: http://docs.unity3d.com/Documentation/ScriptReference/DragAndDrop.html
↧