|
I need to import over 100 small images into Unity. I'm planning to create one material per image. Does anyone know of an easy way to accomplish this without having to manually do it in the editor? Can this be scripted?
(comments are locked)
|
|
As of Unity 3.0 the texture importer is exposed to editor scripts: Texture Importer Documenation
(comments are locked)
|
|
Hi, Good question/request, I tried to find some import wizards as well for batch importing, but haven't yet, The problem I fear is that the editor options of the "texture importer" are not exposed to the scripting api, things like "texture type", "non power of two", "read/write enabled", All this I think is not accessible via script.maybe it is tho, then I missed it and would love to learn about it. Bye, Jean
(comments are locked)
|

Do you specifically need a material for each texture, or could you modify the texture of a single material on start-up?
I need one material per texture.