`UnityEditor.TextureImporterType' does not contain a definition for `Default' in TypogenicFontWizard.cs
baroquedub opened this issue · 0 comments
baroquedub commented
Importing lastest commit (e7d0c4a) 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'
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;