- Home /
Question by
Sikeman214 · Mar 19, 2011 at 07:49 PM ·
javascriptgameobjectdestroyinventory
Trying to make a simple inventory:
So i'm trying to make a simple inventory that shows you what you destroyed. So when you destroy a gameObject i want it to add it to a string. Anyways, the question's how if I delete a gameObject, it'll add 1 to the inventory variable on a different javascript file?
Comment
Your answer
Follow this Question
Related Questions
using Contains(gameObject) to find and destroy a gameObject from a list 2 Answers
JS file deleting multiple game objects 0 Answers
Automatically uncheck? 1 Answer
Destroy on Collision? 1 Answer