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()