UseableItem

This component allows the player to use your prefab when in their inventory. What it does it up to you, and that is why this component is so much more useful than it seems. Use this if you can’t find a better fit component!

Component UseableItem Fields

TypeNameDescription
functiononusefn this happens when the player uses the item
functiononstopusefnthis happens when the player stops using the item
functioncaninteractfnthis allows you to limit the players ability to use the item

Example