예제 #1
0
 private void CurrentObjectPlaced()
 {
     if (_currentPlacementObjIndex != -1)
     {
         var temp = _currentObjectList[_currentPlacementObjIndex];
         temp.Count--;
         IngameUI.SetObjectCount(_currentPlacementObjIndex, temp.Count);
         _currentObjectList[_currentPlacementObjIndex] = temp;
         _currentPlacementObjIndex = -1;
     }
 }