public GameObjectPool (GameObject poolUnit, Transform unitParent, int poolSize, ResetInstance beforeReturn) { this.PoolUnit = poolUnit; this.UnitParent = unitParent; this.PoolSize = poolSize; this.ResetInstance = beforeReturn; FloodPool(); }
public GameObjectPool(GameObject poolUnit, Transform unitParent, int poolSize, ResetInstance beforeReturn) { this.PoolUnit = poolUnit; this.UnitParent = unitParent; this.PoolSize = poolSize; this.ResetInstance = beforeReturn; FloodPool(); }