diff --git a/Assets/YooAsset/Runtime/Settings/YooAssetSettings.cs b/Assets/YooAsset/Runtime/Settings/YooAssetSettings.cs
index d3828a7..a63bc3d 100644
--- a/Assets/YooAsset/Runtime/Settings/YooAssetSettings.cs
+++ b/Assets/YooAsset/Runtime/Settings/YooAssetSettings.cs
@@ -42,8 +42,8 @@ namespace YooAsset
public const string VersionFileName = "StaticVersion.bytes";
///
- /// Unity内置着色器资源包名称
+ /// Unity着色器资源包名称
///
- public const string UnityBuiltInShadersBundleName = "UnityBuiltInShaders.bundle";
+ public const string UnityShadersBundleName = "unityshaders";
}
}
\ No newline at end of file
diff --git a/Assets/YooAsset/Runtime/Settings/YooAssetSettingsData.cs b/Assets/YooAsset/Runtime/Settings/YooAssetSettingsData.cs
index 9d49485..d4bcdfb 100644
--- a/Assets/YooAsset/Runtime/Settings/YooAssetSettingsData.cs
+++ b/Assets/YooAsset/Runtime/Settings/YooAssetSettingsData.cs
@@ -55,5 +55,13 @@ namespace YooAsset
{
return $"{Setting.PatchManifestFileName}_{resourceVersion}.hash";
}
+
+ ///
+ /// 获取着色器资源包全名称(包含后缀名)
+ ///
+ public static string GetUnityShadersBundleFullName()
+ {
+ return $"{YooAssetSettings.UnityShadersBundleName}.{Setting.AssetBundleFileVariant}";
+ }
}
}
\ No newline at end of file