mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-17 13:20:20 +00:00
去除文件名中的空格
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user