You don’t want to loop TryToAdd or any of the functions in the inventory system to do this, you want to loop the items into a copy of your players inventory and do a single update for both the inventory array and UI.
You don’t want to loop TryToAdd or any of the functions in the inventory system to do this, you want to loop the items into a copy of your players inventory and do a single update for both the inventory array and UI.