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