Merge pull request #243 from ZensYue/main

去除文件名中的空格
main
何冠峰 2024-02-20 09:44:14 +08:00 committed by GitHub
commit 619b5dbdaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

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