/// <summary> /// Initialize all the pools from the list /// </summary> public void Initialize() { Instance = this; foreach (var pool in pools) { var objs = GeneratePool(pool); if (PoolExists(pool.Id)) { continue; } pool.SetObjects(objs); poolDict.Add(pool.Id, pool); } }
public abstract void SetPooler(Pooler pooler, Pool pool);
/// <summary> /// Set pooler/pool data /// </summary> public override void SetPooler(Pooler pooler, Pool pool) { this.pooler = pooler; this.pool = pool; }