private void ReturnObject(PoolableObject obj) { obj.SetPoolHandler(null); obj.OnRelease(); this._pool.Enqueue((PoolableObject)obj); }
private void ReturnObject(PoolableObject obj) { obj.SetPoolHandler(null); obj.OnRelease(); this._pool.Enqueue((T)obj); }