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