mirror of https://github.com/tuyoogame/YooAsset
parent
5b8a004720
commit
68e14a48f1
|
@ -42,8 +42,8 @@ namespace YooAsset
|
|||
public const string VersionFileName = "StaticVersion.bytes";
|
||||
|
||||
/// <summary>
|
||||
/// Unity内置着色器资源包名称
|
||||
/// Unity着色器资源包名称
|
||||
/// </summary>
|
||||
public const string UnityBuiltInShadersBundleName = "UnityBuiltInShaders.bundle";
|
||||
public const string UnityShadersBundleName = "unityshaders";
|
||||
}
|
||||
}
|
|
@ -55,5 +55,13 @@ namespace YooAsset
|
|||
{
|
||||
return $"{Setting.PatchManifestFileName}_{resourceVersion}.hash";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取着色器资源包全名称(包含后缀名)
|
||||
/// </summary>
|
||||
public static string GetUnityShadersBundleFullName()
|
||||
{
|
||||
return $"{YooAssetSettings.UnityShadersBundleName}.{Setting.AssetBundleFileVariant}";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue