Exemple #1
0
 public void UpdateGoldList()
 {
     _index    = 0;
     _goldList = _listOfGold.GetListOfGold();
     _goldCollector.UpdateGoldNums(_goldList.Count);
     _currentGold = _goldList[_index];
 }
Exemple #2
0
 public void SwitchNextGold()
 {
     _index++;
     if (_index < _goldList.Count)
     {
         _currentGold = _goldList[_index];
     }
 }
Exemple #3
0
 public void PlaceGold(Transform goldIngot, GoldModel goldModel)
 {
     goldIngot.parent = transform;
     _goldTransformList.Add(goldIngot);
     goldModel.StopFalling(2f);
 }