From bc1cb6da854cb2e9144f10ed55330a537ecdca16 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 04 三月 2026 14:35:57 +0800
Subject: [PATCH] 466 h5版本 资源规则修改 打包修改(未完成 勿拉取)

---
 Main/Core/ResModule/GameObjectPoolManager.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/Main/Core/ResModule/GameObjectPoolManager.cs b/Main/Core/ResModule/GameObjectPoolManager.cs
index d261352..46d3f34 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;
@@ -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