Action RPG Inventory System

to get player inventory array, get player controller, cast to inventory player controller, get inventory manager, get player inventory, get inventory. You can make a function in the interface to make it easier in future. Creation/refresh of UI is all done in Iventory manager, which has access to Inventory component which is where your inventory array is.

Hope that helps