I'd like to show icons and count in the inventory bar. ie: A coin icon and a coin count. I know I can add a text child to each slot. Just not sure what best method is to update the text field with the count.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
If a UI InventoryBox element has a Text component attached as a child, then the count should be displayed automatically.
How it's displayed exactly is based on the element's Display type property. If set to Icon Only, then the Text component will be used just for the count value. If set to Icon And Text, then the Text component will be set using the format "Item name (count)".
Thanks!!!