Hi there guys
i did some searching about drag and drop prefabs, but strangely I could not find anything that helps. Basically I want to give my player some objects that they can drag and drop onto the stage. Also, these objects must snap onto a grid.
Any help is much appreciated!
Hello,
Drag n drop of prefabs are only available on the editor. You could only use this during runtime to instantiate objects. You should implements things inside script to able to do such process.
I hope that would help you alot.
You want to place things while the game is running (from perspective of the player and not in the editor)?
Yes. Thats why you need to implement things on your script. You could use prefab just to instantiate the gameobject possibly when the user is ready to drag the object on the game screen. And snapping would be only few codes.
I wonder, if there is anyone who needs this type of functionality, if we could work together on that in this post?
Any takers? i am going to sit tonight and mess around with it.
Best