- Home /
Question by
JannickL · May 04, 2017 at 12:09 PM ·
editoreditor-scriptingassetbundlecustom editortextureimporter
Change texture import settings by script
Hello, i want to add a custom unity editor menu.
When i click the menu item all textures in "Resources/Images" should get the converted with the property "Override for Android" - "Max Size: 4096"
public class CustomEditor:Editor {
[MenuItem("Custom/Convert Images")]
static void ConvertImages() {
}
}
How to get started from there? I read about the TextureImporter but i did not get it working correctly.
Thank you :)
Comment