Beispiel #1
0
 public void RemoveSelectedSlotEnergy()
 {
     if (m_SelectedSlot.EnergyType != null)
     {
         m_EnergyManager.AddEnergy(m_SelectedSlot.EnergyType.Value);
         m_SelectedSlot.ClearSlot();
     }
 }
Beispiel #2
0
    public void ClearCurrentRecipe()
    {
        craftableItem = null;
        craftedSlot.ClearSlot();

        foreach (CraftingSlot slot in ingredientSlots)
        {
            slot.ClearSlot();
        }
    }
Beispiel #3
0
 private void ClearCraftingSlots()
 {
     input1.ClearSlot();
     input2.ClearSlot();
     resultSlot.ClearSlot();
 }