Esempio n. 1
0
        public void Recycle(string poolName, GameObject obj)
        {
            GameObjectPool pool = null;

            if (!m_PoolMap.TryGetValue(poolName, out pool))
            {
                Log.e("Recycle No Pool");
            }
            pool.Recycle(obj);
        }
Esempio n. 2
0
        public void Recycle(string poolName, GameObject obj)
        {
            GameObjectPool cell = null;
            if (!m_PoolMap.TryGetValue(poolName, out cell))
            {
                Log.e("#Recycle Not Find Pool:" + poolName);
                return;
            }

            cell.Recycle(obj);
        }