diff --git a/Assets/ManagedResources/Fonts/ArtFont_4/ArtFont_4_mat.mat b/Assets/ManagedResources/Fonts/ArtFont_4/ArtFont_4_mat.mat index 379decdff7..46aadfeaf2 100644 --- a/Assets/ManagedResources/Fonts/ArtFont_4/ArtFont_4_mat.mat +++ b/Assets/ManagedResources/Fonts/ArtFont_4/ArtFont_4_mat.mat @@ -20,7 +20,7 @@ Material: serializedVersion: 3 m_TexEnvs: - _MainTex: - m_Texture: {fileID: 0} + m_Texture: {fileID: 2800000, guid: 1fce59d7564616f4391c013750e3fc05, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} m_Floats: [] diff --git a/Assets/Scripts/Editor/CreateFont.cs b/Assets/Scripts/Editor/CreateFont.cs index 2bdd13244b..2f03e785e7 100644 --- a/Assets/Scripts/Editor/CreateFont.cs +++ b/Assets/Scripts/Editor/CreateFont.cs @@ -128,7 +128,7 @@ public class CreateFontEditor : Editor return; } - string imgPathName = fntPath.Replace(".fnt", "_Tex.tga"); + string imgPathName = fntPath.Replace(".fnt", "_0.png"); string MatPathName = fntPath.Replace(".fnt", "_mat.mat"); string customFontPath = fntPath.Replace(".fnt", "_cfont.fontsettings"); if (!File.Exists(imgPathName))