Quantcast
Channel: Answers for "Unity Editor Inspector creating gameObjects in world"
Browsing all 4 articles
Browse latest View live

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 Article


Answer 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


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 Article

Answer 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
Browsing all 4 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>