public void Push(GPoolObject obj) { if (obj.reference <= 0) { this._typeToObjects[obj.GetType()].Enqueue(obj); } else { this._referencing[obj.GetType()].Add(obj); } }
public void Push(GPoolObject obj) { if (obj.reference <= 0) { this._typeToObjects[obj.GetType()].Enqueue(obj); } else { this._referencing[obj.GetType()].Add(obj); } }