This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
UIInventorySlot.cs
Erik edited this page Apr 24, 2019
·
1 revision
Script: UIInventorySlot.cs
- ItemInstance
- 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.
- None
- 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)
Provides update functionality and interactability to a UI image that represents an item.
Script Documentation
General Scripts
Generic Character Scripts
Enemy Scripts
Player Scripts
Erik's ongoing laundry list of TODOs that he doesn't want to create issues for