From 51b0f6ed9f4e1d3bb6f8144470b46908c7699a96 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 11 五月 2026 16:20:37 +0800
Subject: [PATCH] Merge branch 'master' into h5version

---
 Main/Core/ResModule/GameObjectPoolManager.cs |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Main/Core/ResModule/GameObjectPoolManager.cs b/Main/Core/ResModule/GameObjectPoolManager.cs
index d261352..b4e8459 100644
--- a/Main/Core/ResModule/GameObjectPoolManager.cs
+++ b/Main/Core/ResModule/GameObjectPoolManager.cs
@@ -3,6 +3,8 @@
 using System;
 using Cysharp.Threading.Tasks;
 using System.Linq;
+using YooAsset;
+
 
 #if UNITY_EDITOR
 using UnityEngine.Profiling;
@@ -185,7 +187,7 @@
         }
 
         // 鍚姩瀹氭湡妫�鏌ユ睜鐨勫崗绋�
-        CheckPoolUsage();
+        CheckPoolUsage().Forget();
     }
 
     private async UniTask CheckPoolUsage()
@@ -248,7 +250,7 @@
     /// </summary>
     /// <param name="prefab"></param>
     /// <returns></returns>
-    public GameObjectPool RequestPool(GameObject prefab)
+    public GameObjectPool GetPool(GameObject prefab)
     {
         if (prefab == null)
         {
@@ -286,7 +288,7 @@
             return;
         }
 
-        RequestPool(prefab).Cache(count, _prefabActive);
+        GetPool(prefab).Cache(count, _prefabActive);
     }
 
 
@@ -304,7 +306,7 @@
             return null;
         }
 #endif
-        return RequestPool(prefab).Request();
+        return GetPool(prefab).Request();
     }
 
 

--
Gitblit v1.8.0