update runtime code
parent
209e9d7705
commit
3b1a8beadf
|
@ -41,6 +41,7 @@ namespace YooAsset
|
|||
/// </summary>
|
||||
public const string PatchManifestFileVersion = "1.4.0";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 构建输出文件夹名称
|
||||
/// </summary>
|
||||
|
|
|
@ -83,9 +83,14 @@ namespace YooAsset
|
|||
/// <summary>
|
||||
/// 获取着色器资源包全名称(包含后缀名)
|
||||
/// </summary>
|
||||
public static string GetUnityShadersBundleFullName()
|
||||
public static string GetUnityShadersBundleFullName(bool uniqueBundleName, string packageName)
|
||||
{
|
||||
return $"{YooAssetSettings.UnityShadersBundleName}.{Setting.AssetBundleFileVariant}";
|
||||
string shareBundleName;
|
||||
if (uniqueBundleName)
|
||||
shareBundleName = $"{packageName.ToLower()}_{YooAssetSettings.UnityShadersBundleName}.{Setting.AssetBundleFileVariant}";
|
||||
else
|
||||
shareBundleName = $"{YooAssetSettings.UnityShadersBundleName}.{Setting.AssetBundleFileVariant}";
|
||||
return shareBundleName.ToLower();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue