示例#1
0
    public void AddPool(IPool pool)
    {
        pool.BindPoolInstantiate(OnPoolInstantiate);
        pool.BindPoolDestroy(OnPoolDestroy);

        Pools.Add(_currentPoolId++, pool);
    }