- Home /
Question by
Timelord33 · Jan 22, 2013 at 02:48 AM ·
instantiateprefabinventoryrpginventory system
Instantiate a destroyed GameObject by its original Prefab from the "Assests" folder?
I have an inventory system where objects are destroyed when the player "takes" them, and are added to there "inventory" array. I then need to Instantiate them again when they are "dropped". I can't seem to find a way in code to point to the original Prefab the object came from.
Comment
Your answer
Follow this Question
Related Questions
Trouble working with a Custom class, JavaScript. 2 Answers
Inventory Instantiation problem 1 Answer
Destroying Instantiated Prefab 1 Answer
Instantiating object from inventory 0 Answers