public void RemoveSelectedSlotEnergy() { if (m_SelectedSlot.EnergyType != null) { m_EnergyManager.AddEnergy(m_SelectedSlot.EnergyType.Value); m_SelectedSlot.ClearSlot(); } }
public void ClearCurrentRecipe() { craftableItem = null; craftedSlot.ClearSlot(); foreach (CraftingSlot slot in ingredientSlots) { slot.ClearSlot(); } }
private void ClearCraftingSlots() { input1.ClearSlot(); input2.ClearSlot(); resultSlot.ClearSlot(); }