#Loading an arbitrary number of resources from a directory?

2 messages · Page 1 of 1 (latest)

frozen arrow
#

I've created a directory and have included a bunch of Resource files that define an item's data such as its name and icon (so iron ingot, gold ingot, wood log etc). I would then create data classes based on these. How would I load an entire directory with an arbitrary amount of these resources into an array in code at runtime? Thank you.

spare bloom