mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-06 10:46:53 +08:00
[unity] Don't import atlas textures as Unity Sprites by default.
This commit is contained in:
parent
395dc5b345
commit
bd7ad96bc6
@ -887,6 +887,7 @@ namespace Spine.Unity.Editor {
|
|||||||
texImporter.textureFormat = TextureImporterFormat.AutomaticTruecolor;
|
texImporter.textureFormat = TextureImporterFormat.AutomaticTruecolor;
|
||||||
texImporter.mipmapEnabled = false;
|
texImporter.mipmapEnabled = false;
|
||||||
texImporter.alphaIsTransparency = false;
|
texImporter.alphaIsTransparency = false;
|
||||||
|
texImporter.spriteImportMode = SpriteImportMode.None;
|
||||||
texImporter.maxTextureSize = 2048;
|
texImporter.maxTextureSize = 2048;
|
||||||
|
|
||||||
EditorUtility.SetDirty(texImporter);
|
EditorUtility.SetDirty(texImporter);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user