This commit is contained in:
2025-11-13 15:51:09 +08:00
parent 33cf5f4478
commit 10e57cbb68
2 changed files with 5 additions and 2 deletions

View File

@@ -124,7 +124,10 @@ namespace Stary.Evo.Editor
string name = FilesUtils.ChineseToPinYin(fileName.Name.Replace(".", "_"), false)
.Replace(" ", "")
.Replace("-", "_")
.Replace(".", "_"); // 保留点号替换为下划线
.Replace(".", "_")
.Replace("@", "")
.Replace("(", "_")
.Replace(")", "_"); // 保留点号替换为下划线
variable.Append(tab + "public const string " + name + " = \"" + filepath + "\";\n");
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "com.staryevo.armaztools",
"version": "1.0.0",
"version": "1.0.1",
"displayName": "00.StaryEvo.ARMazTools",
"description": "This is an ARMazTools package(后台服务器版本端口9527)",
"unity": "2021.3",