Bladeren bron

Merge pull request #336 from pharan/patch-1

Fix 2D Projects breaking PMA atlases.
Fenrisul 10 jaren geleden
bovenliggende
commit
39ce4b2bd4
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      spine-unity/Assets/spine-unity/Editor/SpineEditorUtilities.cs

+ 1 - 0
spine-unity/Assets/spine-unity/Editor/SpineEditorUtilities.cs

@@ -390,6 +390,7 @@ public class SpineEditorUtilities : AssetPostprocessor {
 			TextureImporter texImporter = (TextureImporter)TextureImporter.GetAtPath(texturePath);
 			texImporter.textureFormat = TextureImporterFormat.AutomaticTruecolor;
 			texImporter.mipmapEnabled = false;
+			texImporter.alphaIsTransparency = false;
 			texImporter.maxTextureSize = 2048;
 
 			EditorUtility.SetDirty(texImporter);