- Home /
Creating an item, equipping it to a character?
How do I make an item, like on FusionFall? Are these two in script, not script, or some mix between the two?
Answer by Magnus Wolffelt · Jul 26, 2010 at 06:14 PM
Usually equippable items are implemented as prefabs, with attached scripts for data and behaviour, with a common script or base class for all equippable items. Then at equip time they are instantiated and parented to an appropriate transform in the character skeleton. You can later find equipped items by searching for specific scripts in the object hierarchy.
Your answer
Follow this Question
Related Questions
Having a changing Skybox depending on location of player 1 Answer
See through walls 2 Answers
need help with character rotating when hit 0 Answers
character controller quit working, script errors 0 Answers
WoW-style clothing system. 1 Answer