mirror of https://github.com/tuyoogame/YooAsset
update runtime code
parent
fd4b6794cc
commit
de2fab1370
|
@ -302,10 +302,6 @@ namespace YooAsset
|
||||||
string fileExtension = isRawFile ? YooAssetSettingsData.Setting.RawFileVariant : YooAssetSettingsData.Setting.AssetBundleFileVariant;
|
string fileExtension = isRawFile ? YooAssetSettingsData.Setting.RawFileVariant : YooAssetSettingsData.Setting.AssetBundleFileVariant;
|
||||||
return StringUtility.Format("{0}.{1}", fileHash, fileExtension);
|
return StringUtility.Format("{0}.{1}", fileHash, fileExtension);
|
||||||
}
|
}
|
||||||
else if (nameStyle == 2) //BundleName
|
|
||||||
{
|
|
||||||
return bundleName;
|
|
||||||
}
|
|
||||||
else if (nameStyle == 4) //BundleName_HashName
|
else if (nameStyle == 4) //BundleName_HashName
|
||||||
{
|
{
|
||||||
string fileName = bundleName.Remove(bundleName.LastIndexOf('.'));
|
string fileName = bundleName.Remove(bundleName.LastIndexOf('.'));
|
||||||
|
|
Loading…
Reference in New Issue