x


Inventory Issue

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?

more ▼

asked Jan 03 '12 at 12:16 AM

Rhodis001 gravatar image

Rhodis001
1 1 1

(comments are locked)
10|3000 characters needed characters left

0 answers: sort newest
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x4172
x764
x224
x132

asked: Jan 03 '12 at 12:16 AM

Seen: 443 times

Last Updated: Jan 03 '12 at 12:16 AM