Reference to the item prefab

chameleon

New member
I have a simple question that I haven't found an answer to yet. I want to script a reference to a specific third person item Gameobject.
Example:
My NPC has an item Sword created in Item Set 5. Now I want to activate a child object within the Sword prefab with my script.
How can I say:
GameObject swordItem = ?????
 
Top