| | |
| | | continue;
|
| | | }
|
| | |
|
| | | if (!setting.Equal(textureImporter))
|
| | | if (!setting.Equal(textureImporter)
|
| | | || textureImporter.textureType != TextureImporterType.Sprite
|
| | | || textureImporter.spriteImportMode != SpriteImportMode.Single
|
| | | || textureImporter.mipmapEnabled != false
|
| | | || textureImporter.alphaIsTransparency != true
|
| | | || textureImporter.spritePackingTag != folderName
|
| | | || textureImporter.wrapMode != TextureWrapMode.Clamp
|
| | | || textureImporter.filterMode != FilterMode.Bilinear)
|
| | | {
|
| | | textureImporter.alphaSource = setting.alphaSource;
|
| | | textureImporter.textureType = TextureImporterType.Sprite;
|
| | | textureImporter.spriteImportMode = SpriteImportMode.Single;
|
| | | textureImporter.assetBundleName = StringUtility.Contact("ui/sprite/", setting.folderName.ToLower());
|
| | | textureImporter.mipmapEnabled = false;
|
| | | textureImporter.alphaSource = setting.alphaSource;
|
| | | textureImporter.alphaIsTransparency = true;
|
| | | textureImporter.spritePackingTag = folderName;
|
| | | textureImporter.wrapMode = TextureWrapMode.Clamp;
|