yyl
2026-03-04 bc1cb6da854cb2e9144f10ed55330a537ecdca16
Main/System/Video/VideoManager.cs
@@ -2,6 +2,7 @@
using System;
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using UnityEngine;
public class VideoManager : Singleton<VideoManager>
@@ -14,8 +15,10 @@
    public void Init()
    {
        GameObject uiVideoPrefab = UILoader.LoadPrefab("UIVideoPlayer");
        uiVideoPool = GameObjectPoolManager.Instance.GetPool(uiVideoPrefab);
        UILoader.LoadPrefabAsync("UIVideoPlayer").ContinueWith(prefab =>
        {
            uiVideoPool = GameObjectPoolManager.Instance.GetPool(prefab);
        }).Forget();
    }
    public void Release()