Riches/currencies are defined in the “InventoryManager.cs” inspector.
The size of the “Riches” array is how many currency types you want to have in your game. For each currency, input its name, its starting amount and its icon’s sprite. Then drag and drop the inventory’s UI object for each currency.
The currency’s UI object must be a child object of the inventory UI panel. It must have an UI Image component with the currency’s sprite and it must have a child UI object with a UI Text component called “Text”.