Beispiel #1
0
 public void CreateBoxes()
 {
     foreach (Transform t in boxesTrans)
     {
         GameObject box = aux.GetBoxPool().GetPooledObject();
         box.SetActive(true);
         //coins.Add(coin);
         box.transform.position = t.position;
     }
 }