[战斗]=============减怒数字图片字修改提交,生成材质球文本文件修改提交

dev_chengFeng
wangzhenxing 2021-07-03 18:52:28 +08:00
parent 7d9edd42dd
commit fd3b2c0ed6
2 changed files with 2 additions and 2 deletions

View File

@ -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: []

View File

@ -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))