Introduction
This component handles refreshing the Inventory UI for individual ItemAmount information once clicked on a InventoryItemSlot.
Setting up
There is a prefab InventoryItemSlot located in /prefabs/UI.
Setting up without the prefab otherwise is easy, it needs only 3 other components to work, and Image for the Icon, TMP component for Count and a Button to click to display its information using the Item Amount Info Panel.
If you are just wanting visuals without the Info, consider using an ItemSlot component instead. This class is inherited from ItemSlot, and Inventory Manager accepts and uses the functions in Item Slot for refreshing. The only thing this component does is use the Button to display more information about an Item Amount.
This component should be placed under a Canvas.
Settings
Item Image
The Image component to display the Item’s Icon. This field is inherited from ItemSlot.
Count Text
The TextMeshProUGUI component to display the ItemAmount’s Amount. This field is inherited from ItemSlot.
Btn
The Button component to click to open the Item Amount Info Panel for the Item Amount assigned to this class.