public void CreateCoins() { foreach (Transform t in coinList) { GameObject coin = aux.GetSingleCoinPool().GetPooledObject(); coin.SetActive(true); //coins.Add(coin); coin.transform.position = t.position; } }