mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-23 01:00:16 +00:00
Update asset setting
不再提供着色器收集选项,已经内置为必定收集。 优化了SBP打包着色器收集系统。
This commit is contained in:
@@ -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}";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user