yyl
2026-03-04 bc1cb6da854cb2e9144f10ed55330a537ecdca16
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();
    }