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