mirror of https://github.com/tuyoogame/YooAsset
parent
4776ab9bd8
commit
3fedc5b1b3
|
@ -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('.', '_');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue