Update asset setting

不再提供着色器收集选项,已经内置为必定收集。
优化了SBP打包着色器收集系统。
pull/33/head
hevinci 2022-08-03 15:46:27 +08:00
parent 5b8a004720
commit 68e14a48f1
2 changed files with 10 additions and 2 deletions

View File

@ -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";
}
}

View File

@ -55,5 +55,13 @@ namespace YooAsset
{
return $"{Setting.PatchManifestFileName}_{resourceVersion}.hash";
}
/// <summary>
/// 获取着色器资源包全名称(包含后缀名)
/// </summary>
public static string GetUnityShadersBundleFullName()
{
return $"{YooAssetSettings.UnityShadersBundleName}.{Setting.AssetBundleFileVariant}";
}
}
}