Beispiel #1
0
    public void BackObjectToPool(PoolableObject obj)
    {
        int poolKey = obj.GetPoolKey();

        obj.gameObject.SetActive(false);
        _poolDictionary[poolKey].Enqueue(obj);
    }