mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-20 23:30:08 +00:00
Update AssetBundleCollector
原生文件打包规则包含文件后缀名
This commit is contained in:
@@ -120,8 +120,8 @@ namespace YooAsset.Editor
|
||||
if (depends.Length != 1)
|
||||
throw new Exception($"{nameof(PackRawFile)} is not support estension : {extension}");
|
||||
|
||||
string bundleName = StringUtility.RemoveExtension(data.AssetPath);
|
||||
return EditorTools.GetRegularPath(bundleName).Replace('/', '_');
|
||||
string bundleName = data.AssetPath;
|
||||
return EditorTools.GetRegularPath(bundleName).Replace('/', '_').Replace('.', '_');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user