去除文件名中的空格

pull/243/head
e 2024-02-19 22:20:34 +08:00
parent b180fd8fc6
commit 3105521fa9
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ namespace YooAsset.Editor
{
string fullName;
string bundleName = EditorTools.GetRegularPath(_bundleName).Replace('/', '_').Replace('.', '_').ToLower();
bundleName = bundleName.Replace(" ", "_");
if (uniqueBundleName)
fullName = $"{packageName}_{bundleName}.{_bundleExtension}";
else