↧
Answer by MakeCodeNow
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...
View ArticleAnswer by C.Malcolm
I actually wrote an Editor script which allows the user to drag and drop a prefab into a selector, then input its position, give it a name and place it. Here is the code for that: using UnityEngine;...
View Article