automatically create gameobjects from images in a folder
hi all There are a few answers I have found that address something of my question but I'm hoping someone can help me with it all: I am creating a game which requires new additions regularly and this needs to be done by adding images to a server. The images will be put in the resources directory (or a sub directory thereof) and on booting up the game, I need the game to create gameobjects of all the images in that folder, naming them with the same names as the images and arranging them in order (left to right). The images will all be jpgs and the same dimensions in pixels. Can anyone point me to the correct way to do this? many thanks Matt
Your answer
Follow this Question
Related Questions
How to reference assets that are inside a folder?,Referencing assets in the scene 0 Answers
Assigning a gameobject (not a prefab) to a script in the inspector 1 Answer
How to have GameObjects keep script references? 0 Answers
I have a character object type that I want to make into a game object 0 Answers
GameObject and Asset - Terminology 0 Answers