- Home /
Spawn new object after last one is dragged away
I'm creating a 2D game with an inventory that users can choose objects from and then drag on an area where they can assemble the pieces in a variety of configurations. Rather than having each inventory slot hold only one object, I'd like each slot to hold a few copies of the same object, in other words when an object is dragged from a slot i'd like a new instance of it to pop up so the user can then drag another copy of the object if they choose to. How do I go about instantiating another copy of the object once it's dragged from the location?
Your answer
![](https://koobas.hobune.stream/wayback/20220611230111im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple spawn location with random game object in random time spawn c# 1 Answer
Server authoritative spawning bug? 1 Answer
How can i spawn floating labels around button on click? 1 Answer
How Increase And Decrease And Reset Spawn Rate Over 0 Answers
,Getting a Spawner Manager Script to reference a Spawner 1 Answer