Allow editing of textures once built?

Is there a way that I can make a separate folder and place textures in it that once built can be edited by the user? Right now all the asset folders seemed to get compressed into one file.

So for example, a folder that contains flag textures that the user can edit.


Yes, but they must be PNG or JPEG files. You can read them using File I/O and using Texture2D.LoadImage to convert the bytes to a Texture2D, or using WWW with a file:///... URL, and using WWW.texture to retrieve the texture.

Note that for a WebPlayer, local filesystem cannot be read, so you must use WWW (and possibly the images will have to be online).

So, for example:

var bytes = System.IO.File.ReadAllBytes(Application.dataPath+"/flag.jpeg");
var tex = new Texture2D(4,4); // size not used