public static GameObjectPool AddPool(GameObjectPoolPrefabType pool_id, GameObject prefab)
        {
            if (pools.ContainsKey(pool_id))
            {
                return(null);
            }

            var pool = new GameObjectPool(prefab);

            pools.Add(pool_id, pool);
            return(pool);
        }
 public static GameObjectPool GetPool(GameObjectPoolPrefabType pool_id)
 {
     return(pools[pool_id]);
 }