Adding texture into array at runtime

Hello again :slight_smile:

Working on a little project and what i’m trying to do is I’ve get a set amount of color textures, the normal black, blue, red, etc but what I also want to do is allow the user to add there own texture say wood, a image of there dog or something lol. I was just wondering is this kind of thing even possible with Unity and if so has anyone tried it?

Thank you :slight_smile:

There is code to do that in the scripting reference. A wonderful piece of documentation that: Unity - Scripting API: WWW.texture
Assuming this runs in a web browser, you would have to provide them a way to get their picture uploaded to your server, or proxy a url through your server. Otherwise, they can provide a URL to their image, that’s it.