You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 14, 2019. It is now read-only.
Dependencies (What do I need to include to use this script in another projec?):
ItemInstance
Public Methods:
ClearSlot() - Resets the slot to show "no item".
CreateSlot(ItemInstance item) - Assigns the item to the slot and displays the image representing that item.
Clicked() - Utilizes the item attached to this slot.
Public Events:
None
Configurable Fields:
Image - UI Element that displays the item's image. (Note: not the UI Image component of the slot, but the image element that will display the item's sprite)
General Overview:
Provides update functionality and interactability to a UI image that represents an item.