|
Hello guys, newbie talking here, hehe, ....well, i having some problems with an inventory script that i'm developing, the problem consists that when i select an object and put it into my "bag" , it is added without problems, but , the Original GameObject still there, and if I use Destroy(); in the GameObject in the scene to remove it, leaving only in the bag the object in the bag went missing. I'm storing itens on a List of GameObjects, is that alright ? If is what I'm doing wrong ? PS : I'm using C#. Bônus question : This should be done with an list of string or codes instead?
(comments are locked)
|
