#Populating UI Elements from resources in an Array.

1 messages · Page 1 of 1 (latest)

drifting marlin
#

Currently I'm working on a shop interface that is using an Array with custom resources to populate the store. Right now, I'm using the size of the array to spawn the correct amount of containers needed, but what I'm having an issue with is ... How can I pull the variables from each resource in that array?

I'm currently just instantiating a UI scene at some default values, but I'm looking to have the icon/name/price be set to the resources value on ready

I feel like I'm on slightly(?) the right track but programming isn't my expertise, so any guidance at all would be greatly appreciated. 🤟

quick maple
#

It's just array_shopInventory[i] in the loop

drifting marlin
#

Thanks for that, Making some progress now. Much appreciated! 🤟