private void StartManufacturing() { var nextQueuedPart = _queue.Pop(); if (nextQueuedPart != null) { _processedItem = nextQueuedPart; _processedBlueprint = WorkshopRecipeDatabase.ProcessPart(nextQueuedPart.Part); foreach (var resource in _processedBlueprint) { resource.Units *= ConversionRate; } } }
private void StartManufacturing() { var nextQueuedPart = _queue.Pop(); if (nextQueuedPart != null) { _processedItem = nextQueuedPart; _processedBlueprint = WorkshopRecipeDatabase.ProcessPart(nextQueuedPart.Part, workshopRecipe); if (Animate && _heatAnimation != null && _workAnimation != null) { StartCoroutine(StartAnimations()); } } }