update runtime code

pull/62/head
hevinci 2022-12-26 01:04:35 +08:00
parent fd4b6794cc
commit de2fab1370
1 changed files with 0 additions and 4 deletions

View File

@ -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('.'));