Open baroquedub opened 7 years ago
Importing lastest commit (https://github.com/Chman/Typogenic/commit/e7d0c4ae3128741b2e3042f4b43f41f1d7dd1f4a) into Unity 5.4.3 I get the following error: Assets/Typogenic/Editor/TypogenicFontWizard.cs(30,68): error CS0117:UnityEditor.TextureImporterType' does not contain a definition for Default'
Assets/Typogenic/Editor/TypogenicFontWizard.cs(30,68): error CS0117:
Default'
Indeed, the importer types are defines as:
namespace UnityEditor { public enum TextureImporterType { Image, Bump, GUI, Sprite = 8, Cursor = 7, Cubemap = 3, Reflection = 3, Cookie, Lightmap = 6, Advanced = 5 } }
So I've changed line 30 to: importer.textureType = TextureImporterType.Image;
importer.textureType = TextureImporterType.Image;
Importing lastest commit (https://github.com/Chman/Typogenic/commit/e7d0c4ae3128741b2e3042f4b43f41f1d7dd1f4a) into Unity 5.4.3 I get the following error:
Assets/Typogenic/Editor/TypogenicFontWizard.cs(30,68): error CS0117:
UnityEditor.TextureImporterType' does not contain a definition forDefault'
Indeed, the importer types are defines as:
So I've changed line 30 to:
importer.textureType = TextureImporterType.Image;