I’m having problems with this. I’m learning to use very simple inventory system where you can store objects in array and then spawn them in screen.
My current setup is this.
I’m not sure if that is actually right. For now i just add object to my array and then delete it. If i wanna spawn it in certain location i just check if array contains the item and then create it from class. Is there a better way? Like using array index and spawn the referred object that is stored there?
