Populating an array with assets from project

Hey, I have a script (written by somone else) which has an array

var movie_stills : Texture[] = new Texture[number];

Now I need to populate this array by hand, which is a big pain, see the screenshot:

Is it possible to read all these pictures automatically inside the script, when it loads? I could name pictures from 000 to 100 and then populate this array but I don’t know how to access the images in project.

You could put them in the resources folder and use Resources.Load()

Thanks, I managed to populate the aray this way.

There is one other thing though - The images are imported to this texture array with “Compressed” format and the look bad. Is there any way I could Iterate through array and set the format to “Truecolor”?

Nice pic :wink:

No really, I’ve already solved my problem, I just changed the textures in Project view with another script.