Introduction
This component handles refreshing the Inventory Item slots and Blueprint Select Slots materials.
Setting up
There is a prefab ItemSlot located in /prefabs/UI.
Setting up without the prefab otherwise is easy, it needs only 2 other components to work, and Image for the Icon, TMP component for Count.
This component should be placed under a Canvas.
Settings
Item Image
The Image component to display the Item’s Icon.
Count Text
The TextMeshProUGUI component to display the ItemAmount’s Amount.
/// <summary>
/// The ItemAmount this ItemSlot is holding
/// </summary>
public ItemAmount ItemAmount
/// <summary>
/// Refreshes this ItemSlot Icon and Count
/// </summary>
public void RefreshItemSlot()