Esempio n. 1
0
    public IEnumerator ReturnInPool(ObjectTypeEnum typeEnum, GameObject obj, float t)
    {
        yield return(new WaitForSeconds(t));

        _poolsObjects[typeEnum].Add(obj);
        _configurateManager.ConfigurateZero(obj);
    }