fix:1、删除上一个sdk,更换新的。2、删除了max广告

This commit is contained in:
2026-05-27 09:28:34 +08:00
parent 978797b678
commit 69c818e992
1039 changed files with 99687 additions and 94871 deletions
+11 -2
View File
@@ -423,11 +423,20 @@ namespace BallKingdomCrush
{
TextureHelper.SetImgLoader(loader, fileName,
(a) => {
coverCache[fileName] = a.nativeTexture as Texture2D;
callback?.Invoke(coverCache[fileName]);
if (a != null && a.nativeTexture != null)
{
coverCache[fileName] = a.nativeTexture as Texture2D;
callback?.Invoke(coverCache[fileName]);
}
else
{
Debug.LogWarning($"[LiveVideoManager] 封面加载失败: {fileName}");
callback?.Invoke(null);
}
}, "LiveAlbums/", FolderNames.VideoCoversName);
}
private IEnumerator ExtractCoverFromVideo(string fileName, string videoPath, Action<Texture2D> callback)
{
var go = new GameObject("LiveVideoCoverExtractor_" + fileName);